Category: .NET

Using GroupBy in LINQ and C#

Below is a sample code snippet demonstrating how to use GroupBy in LINQ and C#. Using GroupBy in LINQ and C# using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace GinktageConsoleApp …

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; …

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 4 The CLR Profiler allows …

Break vs. continue in C#

Within a for loop or a while loop in C# , you can use break or continue keyword . What is the different between break and continue in C# ? break keyword will cause the …