There is the following class:
public class MyClass { public string StrProp1 {get; set;} public string StrProp2 {get; set;} public int IntProp {get; set;} public DateTime? DTNullableProp {get; set;} public int? IntNullableProp {get; set;} } How to get a collection, for example Dictionary<string, string> with pairs "property name" -> "value". Values are accordingly cast to the string type.