Suresh Sundar
Success is journey, not a destination, always.
Friday, 17 April 2015
assign null value to enum in c#
You can use the "?" operator for a enum nullable type.
Ex:
public enumname? objenum = null;
or else u can create one more enum as none then use it.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment