I have a class with properties like this:
I want to be able to pass a string to some method that evaluates the string input as code. Currently my method looks like this:
What I'm hoping to do is something like this:
return SomeClass.Property + selection; //passing "A" would return SomeClass.PropertyA
Obviously this won't work, but I was trying to illustrate my intention. Is something like this possible?