my Way
Friday, February 19, 2010
Enum value to string
the syntax to get name of enum in string format is below
string name= Enum.GetName(typeof(sampleEnum), sampleEnum.sampleEnumValue);
for details; look at the
link
.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment