Data Structure
Java
Python
HTML
Interview Preparation
Interview Prep
Tutorials
Tracks
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.3K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Java
9.3K+ articles
C#
1.9K+ articles
CSharp-method
701+ articles
CSharp-Enum-Class
5 posts
Recent Articles
Popular Articles
Getting the name of the Enumeration Constant having Specified value in C#
Last Updated: 11 July 2025
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
Converting Enumerated type to String according to the Specified Format in C#
Last Updated: 11 July 2025
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
How to get the typecode for enum in C#?
Last Updated: 11 July 2025
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
How to get the hashcode for enum in C#?
Last Updated: 11 July 2025
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 compare Enum values in C#?
Last Updated: 11 July 2025
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