Scroll to Top

Ginktage

Learn , Blog

How to convert a string to enum in C#?

Below is a sample code snippet demonstrating how to convert a string Eg: “Blue” to Enum value . How to convert a string to enum in C#? using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks;namespace GinktageConsoleApp { public enum Colors { ...

Popular C# profilers

Are you looking for C# profilers ? . In this blog post , we list out some of the popular C# profilers. Popular C# profilers CLR Profiler for .NET Framework...

How to convert a string to enum in C#?

Below is a sample code snippet demonstrating how to convert a string Eg: “Blue” to Enum value . How to convert a string to enum in C#? using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks;namespace...