C#

C# (pronounced as CSharp) is an object-oriented, type-safe, and managed language that is compiled by .NET Framework to generate Microsoft Intermediate Language (MSIL).

Null Coalescing Operator in C#

What is the purpose of ?? Null Coalescing Operator in C#?

In this post, we will be learning about the null coalescing operator in C# with help of an example code snippet. Introduction The ?? operator is called the null coalescing operator. It returns the left-hand operand if the operand is not null otherwise, it returns the right-hand operand. You might already know that C# 2.0 provides us Nullable

What is the purpose of ?? Null Coalescing Operator in C#? Read More »

Generic Collections in C# with Examples

6 Generic Collections in C# with Examples

In this post, we will be discussing various types of generic collections in C# with the help of code examples. Generic Collections in C# A collection is a similar type of object grouped together. Every collection class implements the IEnumerable interface, so values from the collection can be accessed using a foreach loop. The System.Collections.Genrics namespace includes the following

6 Generic Collections in C# with Examples Read More »