I am aware of Passing a generic collection of objects to a method that requires a collection of the base type
How do I do it in .Net 2.0 where I don’t have .Cast ???
It has to be reference equality i.e. copies of the list won’t do.
To re-iterate – I cannot return a new list – it has to be the same list
You want:
See here for more info.