C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




enumerations


Posted Date: 08 Jul 2008      Total Responses: 2

Posted By: tejaswini       Member Level: Bronze     Points: 1



How to create enumeration for string values
ex:. Senioritylistindicator
('C'=captain,'E' = fe, 'F' = f/a, 'S' = S.A. f/a)






Responses

Author: vipul    08 Jul 2008Member Level: DiamondRating:     Points: 3

hi,
for that you used this way
public enum Seniority
{
C=captain,E = fe, F = f/a, S = S.A. f/a
}

in the string enum you don't apply "".

Patel Vipul
Web Developer
Ahmedabad ( Gujarat )



Author: venkatesan    08 Jul 2008Member Level: DiamondRating:     Points: 1

You can look this sample

http://en.csharp-online.net/enum



Wish u a Very Happy New Year
Regards,
M.Venkatesan.

Please remember to Rate “Excellent or Good or Poor”



Post Reply
You must Sign In to post a response.
Next : wcf chat service
Previous : enumerations
Return to Discussion Forum
Post New Message
Category: WCF

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use