[Mono-list] Are constants accessible via reflection?

Jeroen Frijters mono@jeroen.nu
Wed, 7 Aug 2002 09:14:07 +0200


> Yes, but all I needed was a FieldInfo.GetConstant() method. 
> Anyone hearing me in Redmont...?

I'm not sure what you mean by "constants", but FieldInfo.GetValue(null)
works for literals.

Regards,
Jeroen