i have an Dictionary of type int, myclass. in myclass i have following attributes: an string, int, and an string array.
Evrything works fine when i save the data in dictionary. But i want now to look in the dictionary, if there is an value, in myclass, at the position string array. And filter them. For example every object that Contains in the Array "German", should be filtered out. Is there an possibility to do that?
myclass:
public class MYCLASS
{
public int ID
{
get;
set;
}
public string Specialty
{
get;
set;
}
public string[] Language
{
get;
set;
}
public myclass(int id, string specialty, string[] language)
{
this.Language= language;
this.ID= id;
this.Specialty = specialty;
}
}
My Dictionary
Dictionary<int, myclass> objdict= new Dictionary<int, myclass>();