Tag Archives: C#



Expression – Bodied Members in C# 7.0

Expression-bodied methods was introduced with C# 6.0, that simplify the syntactic expression for methods in C#. We have seen this for Methods and Properties in the previous version of C#. C# 7.0 extend this features for several new members including  constructor, destructor, property assessors etc.

Back to Basics : Difference Between int.Parse() and int.TryParse()

What is the difference between int.Parse() and int.TryParse() ? Or how the int.parse() is differ from int.TryParse() ? – yet another frequently  asked question in interview for the beginners, and I have seen confusion while answering this.  Let’s try to understand using simple example. To answer this in a sort way, the int.Parse() and int.TryPrase() […]

Use C# Interactive Window for your coding experiment in Visual Studio 2015

The Interactive Window in Visual Studio is a great utility to play around the code, language features, API’s and other .NET framework features. It is a REPL  (Read–eval–print loop) that provides us an environment for live coding and evaluate expression or code snippet based on our inputs. The Interactive Window also support features like IntelliSense, […]