C# 7.1 : New Features With Example

Recently, Microsoft released a new version of C# which is C# 7.1 with Visual Studio 2017 update 3. It is a minor release so it has few features. The features are async Main method, default, infer tuple name and pattern matching with generics. This article intends to explain these features with examples. Configure C# Language… Continue Reading C# 7.1 : New Features With Example

Ref Return and Ref Local In C#

This article intends to demonstrate new features Ref Return and Ref Local In C# 7.0. The ref is used to be passed as a argument in the method. It enhanced with return and uses returned value later in the method using ref return and ref local. Ref: It uses to pass an argument to a… Continue Reading Ref Return and Ref Local In C#