I have a class (SomeClass) which contains a property Name of string type. And I need to store an array of that class and find its item
SomeClass
Name
string
You can't use KeyedCollection because it's abstract: http://msdn.microsoft.com/en-us/library/ms132438.aspx. This means you can't create an object of it.