How to get the value of a const using reflection?

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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.
 
Back
Top