How to use enum item name which contains space?
Answers
nik
166
Points
6
Posts
|
Yes, the EnumMemberAttribute is designed exactly you want.
Need to import package
Posted On:
23-Jan-2018 02:47
|
beginer
1544
Points
52
Posts
|
Thanks nik, When I get json response through action method we get the attribute value as I wish, but when I need enum member value in C# code for server side report generation i.e. csv, excel, html etc. I am trying following code
I want output as
Posted On:
31-Jan-2018 04:05
|
Smith
2890
Points
78
Posts
|
Use following extension method
Use it as
Posted On:
31-Jan-2018 04:51
|
Blog
Active User (0)
No Active User!