Using Quick Actions in Visual Studio to upgrade project’s language version

By | November 22, 2017

In Visual Studio, you have seen the light bulb, if there is an error, Visual Studio provides a suggestion for how to fix the issue.  We all are familiar with this feature of Visual Studio. Did you know – you can use this feature to update the project language version as well.  In the previous post Choosing the C#… Read More »

Choosing the C# Language latest version (minor release ) in Visual Studio 2017

By | November 21, 2017

Visual Studio allows you to choose the C# language versions for your project. To achieve this, In Visual Studio, from the Solution Explorer, right-click on the project and select Properties -> Build Tab, and then Select Advanced button. This will bring “Advanced Build Settings” windows, where you can check the drop-down option for “Language Version”. You can refer… Read More »

Back to Basics – What is the difference between Ref and Out Keyword in C#?

By | November 17, 2017

Continuing with the Back to Basics series, here is another common and frequently asked question. What is the difference between Ref & Out C#? or When should we use ref over out? We used it often, and we know both ref and out parameters are used to pass arguments within methods. Though it’s a very common question, I… Read More »

Did you know – You can check all the installed Common Language Runtime (CLR) Versions in your machine?

By | November 15, 2017

The Common Language Runtime (CLR) provides key features including memory management, security, exception handling for all programming languages that are targeted to it. In another form, it manages the execution of the code running on .NET Framework. To be honest, we all are familiar with what it does, and how critical component it is for the applications running… Read More »

Did you know – You can automatically create classes from JSON or XML in Visual Studio?

By | November 9, 2017

During the development, often, we require generating classes from JSON objects or XML objects, typically when we need a data to object mapping. In many instances, you may run for manually writing the members of the classes based on the property names coming from your JSON or based on XML attributes. However, there is a very interesting, but… Read More »

Back to Basics – What is the difference between const and readonly in C#?

By | November 6, 2017

Continuing with the Back to Basics series, here is another common and quite confusing question. What is read-only and constant variable? How do they differ? When should we use constant over Read-only? const and readonly, are very common keywords and are quite confusing when you placed them with each other. Let’s try to get into it and understand… Read More »