How can i cast a List to List?
List
(where SomethingElse is known to descend from obje
SomethingElse
obje
I think you're close with the Cast expression. The difference is that Cast returns an IEnumerable, not a List.
Cast
IEnumerable
Try this:
IEnumerable second = first.Cast();
You can get a list by doing something similar:
List second = first.Cast().ToList();