how can I get the const fields for a type?

01:38 [ Vova2] hey guys how would i get all the CONST values of a particular class ?
01:49 [ Flav] GetFields on the type, then check one of the FieldInfo members (maybe IsLiteral)


Returns all the public fields of the current Type.

FieldInfo Class

IsLiteral: Gets a value indicating whether the value is written at compile time and cannot be changed.

Technorati Tags: