How to get the value of a const using reflection?

G

Guest

If I have the following class:

class dummy
{
public const string L_NAME = "Neo";
};

How can I get the value of L_NAME using reflection?
 
G

Guest

Sorry, this is not related to my question.

I just found that it is a problem with Browsers. I am using Firefox and what
I have is double-quotes is all "&quote;". On Microsoft IE they are all fine.
That's strange.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top