TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sahil Dev
NA
77
7.4k
Converting string to Enum
Jun 2 2016 8:16 AM
public
enum
XX
{
Yes= 0;
No=1;
}
I have an Enum defined as above.
I have a string defined as;
string abc;
'abc' has a value of Fixed or Free.
If abc is 'Fixed' I would likes to convert to XX.Yes
If abc is 'Free' I would like to convert to XX.No
What is the best way to go about?
Please can anyone help urgently?
Reply
Answers (
2
)
send emails on button click
how can i export database table value in excel thorugh c#