Author Archives: WindowsDebugging

Visual Studio 2017 – Exception Helper

Exceptions is an ancient programming concept that every developer has to deal with in the programs they write during development, testing and production scenarios. Visual Studio has long provided facilities to inspect the exceptions but with Visual Studio 2017, its Exception … Continue reading

Posted in CodeProject, Visual Studio 2017 | Leave a comment

Visual Studio 2017 – Run To Click

Visual Studio 2017 has provided several key improvements in Debugging experience. One of them is called “Run To Click”. “Run to cursor” has been a familiar experience for all developers for many years. This provided a convenient way of running … Continue reading

Posted in CodeProject, Visual Studio 2017 | Leave a comment

C# 7.0 – Deconstruct in a C# Class

In my blog, I explained how a Tuple could be consumed via deconstruction. Its important to know that this concept is not specific to Tuples. In today’s post I will show how that concept could be applied to a regular class. … Continue reading

Posted in Uncategorized | Leave a comment

C# 7.0 – Tuples Re-Engineered

Tuples have been around for quite sometime as a convenient way of returning more than one value from a method. Even though Tuples were quite easy to use but from code-readability perspective, there were certainly room for improvement. In C# 7.0, team … Continue reading

Posted in .NET, CodeProject, Visual Studio 2017 | Leave a comment

Visual Studio 2017 – Simplified Object Initialization

Visual Studio 2017 introduced code refactoring to simplify object initialization. Let’s say we have following class called Bar. And here is how this class is consumed. Notice the Gray dots under the new keyword in this picture. This is an indication that … Continue reading

Posted in Uncategorized | Leave a comment

Visual Studio 2017 – Add Braces

Visual Studio 2017 code refactoring improvements also made it easy to adapt to some best practices. One of those is adding braces around your code blocks. Let’s say you have code as follows. There are quite a few if -else conditions handled here … Continue reading

Posted in Visual Studio 2017 | Leave a comment

Visual Studio 2017 – Structure Visualizers

Structure Visualiser is one of the  popular features from Productivity Power Tools in 2013 and 2015 versions. Good news is that with Visual Studio 2017, the Structure Visualiser comes out of box without need to install anything. In case you don’t … Continue reading

Posted in Visual Studio 2017 | Leave a comment