I want to create an array with identifiers To be more clear
Jack Karen Tom Example Person
30 40 50 Age
Like this It does not be array necessarily but ı must search the age with name Using database is not fine for me, the age and name is just the simplification of my problem Thanks
Dictionaryis what you are looking for?Personand add instances of it in a collection like aList<Person>. You can find a person for exampe with LINQ:Person jack = allPersons.FirstOrDefault(p => p.Name == "Jack");