Tag: csharp

C# 7.0 : Pattern Matching

In one of the previous blog post , we saw the Out variables enhancements in C# 7.0. This blog post will explain one of the new features in C# 7.0 called Pattern matching and how …

C# 7.0 : Out Variables enhancements

In C# , we can use the out parameters to get the behavior of the call by reference. In the current version of C# , you must declare the variables before you call the method …

Anonymous Type and Equality Check in C#

Anonymous type is a feature in C# that was introduced with C# 3.0 which provides the developers the option to encapsulate the read only properties in to a object without explicitly defining the type. When using …