I have a class
private int id;
private string name;
in my application i created a list of ClassName elements
List<ClassName> items=new List<ClassName>();
I populated this list with ClassName elements..
In some place i want to delete all the list elements with matching search string.
for example... this list contains four item ..like
i want to search this List with string "world" and delete all the elements in the list which contains this string. which means only fourth element should remain in the list.
Help me how to do it.
View Complete Post