Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
C#
1.9K+ articles
CSharp-method
701+ articles
CSharp-Enum-Class
5 posts
Recent Articles
Popular Articles
How to compare Enum values in C#?
Last Updated: 23 July 2019
Enum.CompareTo(Object) Method is used to compare the current instance to a specified object and returns an indication of their relative values.Syntax:public int CompareTo ...
read more
C#
CSharp-method
CSharp-Enum-Class
How to get the hashcode for enum in C#?
Last Updated: 23 July 2019
Enum.GetHashCode Method is used to get the HashCode for the value of the current instance. This method is inherited from the Object class.Syntax:public override int GetHas...
read more
C#
CSharp-method
CSharp-Enum-Class
How to get the typecode for enum in C#?
Last Updated: 23 July 2019
Enum.GetTypeCode Method is used to get the type code of the underlying type of this enumeration member.Syntax:public TypeCode GetTypeCode ();Returns: This method returns t...
read more
C#
CSharp-method
CSharp-Enum-Class
Converting Enumerated type to String according to the Specified Format in C#
Last Updated: 23 July 2019
Enum.Format(Type, Object, String) Method is used to convert the specified value of a specified enumerated type to its equivalent string representation according to the spe...
read more
C#
CSharp-method
CSharp-Enum-Class
Getting the name of the Enumeration Constant having Specified value in C#
Last Updated: 23 July 2019
Enum.GetName(Type, Object) Method is used to get the name of the constant in the specified enumeration that has the specified value.Syntax:public static string GetName (Ty...
read more
C#
CSharp-method
CSharp-Enum-Class
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !