I have the following list item
public List<Configuration> Configurations
{
get;
set;
}
public class Configuration
{
public string Name
{
get;
set;
}
public string Value
{
get;
set;
}
}
How can I pull an item in configuration where name = value?
For example: lets say I have 100 configuration objects in that list.
How can I get : Configurations.name["myConfig"]
Something like that?
Thanks
UPDATE: Solution for .net v2 please