Topics
Csharp Enum
About this topic: Articles tagged __TAG__
Showing 6 articlesRelated tags
Topics
Articles
Showing 6 articles
How-tos
Enum Strings in C#
There are 3 main methods that can be used to create an enumeration of strings in C#, the extension function, the constant variables method, and the ToString() function.
↗
How-tos
How to Convert Int to Enum in C#
This article introduces how to convert int to enum in C#. It includes type casting.
↗
How-tos
How to Get Int Value From Enum in C#
This tutorial demonstrates how to get int value from enum type in C# in several methods with thorough description and examples.
↗
How-tos
How to Enumerate an Enum in C#
This tutorial introduces how to enumerate an enum value in C# using different types of methods.
↗
How-tos
How to Convert Enum to String in C#
There are two main methods that can be used to convert an enum to a string in C#, the Description attribute, and the switch method.
↗
How-tos
How to Convert String to Enum in C#
This C# string to enum how-to article shows different methods to convert a string to enum in C#. It introduces methods like Enum.Parse method, Enum.TryParse method, Enum.IsDefined …
↗
No articles found
Try clearing the filters.