What's difference between Enum.GetValues and Enum.GetNames method?

 Posted by vishalneeraj-24503 on 8/5/2014 | Category: Visual Studio Interview questions | Views: 3072 | Points: 40

GetValues method will return an Array of the underlying values for each item in the Enum.
Whereas GetNames method will return a string array of the Names for the items in the enum.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response