I'm using Dictionary<string, string>
as configuration for instruments, and it'd be easier for my users who don't know a lot about programming to be able to get autocomplete from Visual Studio.
In Python I can make a Dictionary and access the different values with a dot operator.
d = {'name':'Joe', 'mood':'grumpy'}
d.name
d.mood
Does C# have a way to do this?
I realize all of the problems involved since dictionary is a just a generic collection (how generic? is it just a list of KeyValuePairs? interesting question). I'm not about to write a wrapper class for this to accomplish it (I'd like it to be a bit more flexible than using explicit properties with a custom class).