Buy Questpond's video subscriptions on
huge discount
.
Online: 937
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
Visual Studio
>
Loading ...
What's difference between Enum.GetValues and Enum.GetNames method?
Posted by
vishalneeraj-24503
on 8/5/2014 | Category:
Visual Studio Interview questions
| Views: 3466 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
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
Bookmark It
< Previous :
What's difference between VB.Net Enum and C# E ...
Next > :
How to retrieve Enum values using its GETNAMES Met ...
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
How to retrieve Enum values using its GETNAMES Method?
How to retrieve Enum value using its GETNAME Method?
How to retrieve Enum value using its GetValues method?
How to fetch an Enum value directly by its Values?
What is an Alternative way to retrieve an Enum member by their Name?
How to retrieve an Enum member by their Name?
How to get an Enum member given its integer value.
How to define Enum in .Net?
Latest Interview Questions
In the html page how do we display a sub window ?
In Javascript, how to redirect another page from the current page?
How do we execute a function when an element loses focus?
How do we execute a javaScript function on focus of the element?
You are a database developer at an independent software vendor. You cr ...
How do we change font text and size of text? How do we create format t ...
You are a database developer at an independent software vendor. You cr ...
You use Microsoft SQL Server 2012 to develop a database application. Y ...
More ...