I have a list contains 2 different types of objects which are polylines and texts. I want to create a new list of polylines only.
what I do is;
var list2 = list1.SelectMany(x=> x.Type == PolyLine)
Error:'PolyLine' is a type, which is not valid in the given context.
How do I filter those objects here?