by jakopo87 · 5y ago · 0 comments
using dic = System.Collections.Generic.Dictionary<string, string>;
Otherwise you can use an anonymous type: var person = new { name = "frank", address = new { city = "Berlin ", zip = 12345 } };
In this case you get a plain object, but all fields area read only.