object values = new { id = "EE" };
var _dictionary = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
foreach (PropertyDescriptor descriptor in TypeDescriptor.GetProperties(values))
{
object obj2 = descriptor.GetValue(values);
_dictionary.Add(descriptor.Name, obj2);
}
Console.WriteLine(_dictionary["id"] );