Thanks, Chip --
Ah, reflection... I had forgotten all about that. I never used it in Java, but I had a general understanding of it. I might play around with it if I have a chance, if only to get myself more familiar with how it works. I ended up using a hashtable for my values and everything...
Hi All,
I'm new to C#, but I'm pretty sure I've seen this done in Java so I'm sure it can be done here. What I would like to do is dyanmically generate the name of the constant I would like to read. Here is an example of what I want to do.
In a separate file for constants (ConstantsFile.cs)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.