Category Archives: Tips

Picking up New Project Template right from the Start Page in Visual Studio 2017

By | August 16, 2017

Visual Studio 2017 having a reshaped start page. Be it with getting started documents, picking up your recent projects, or evening creating a new project. This has everything to get you started. Creating the new project has an altogether a new section to start up a new project. When you select the “Create new project…” option, you will… Read More »

Set Conditions for Exception in Visual Studio 2017

By | August 14, 2017

In Visual Studio, you can use Exception Settings Window to manage the exceptions – for which exception to break, at which point to break, to add or deleting exceptions. The Exception Settings windows for Visual Studio is there for quite some time. You can open the exception settings window by navigating from Debug -> Windows -> Exception Settings.… Read More »

Did you know – “Attach to Process” dialog window now has a “Process Filtering” option in Visual Studio 2017 ?

By | August 7, 2017

During debugging in Visual Studio, attaching to a process is a very common activity, and as a developer, we are all familiar with it. We can attach the Visual Studio debugger to a running process by navigating from Debug > Attach to Process (Ctrl+Alt+P) and then select the specific process from the Attach to Process dialog box.

Expression Bodied Local Function in C# 7.0

By | August 4, 2017

“Expression-bodied methods” were introduced with C# 6.0, that simplify the syntactic expression for methods in C#.  C# 7.0 extend this features for several new members including constructor, destructor, property assessors etc, and we have seen this one of our previous post – Expression – Bodied Members in C# 7.0. C# 7.0, also introduced local function by defining the helper… Read More »

Improve code readability using Digit Separator in C# 7.0

By | August 3, 2017

During development, often we use literal in our code. They are the fixed values which may not alter during the code execution. Sometime these values are large, and sometime small.  If it is small, it’s ok. If it long representation, it could be hard to read. Making them separate could help read them better.  C# 7.0 allows ‘_’ (underscore) in… Read More »

Directly throw Exception as an Expression – Throw expressions in C# 7.0

By | July 31, 2017

In one of our previous post, Expression – Bodied Members in C# 7.0 , we have seen how C# 7.0 extended the expression bodied members features for several new members including  constructor, destructor, property assessors etc. C# 7.0 also introduces throw expressions, using which you can now throw an exception along with expression-bodied members, conditional expressions or even null-coalescing operations.… Read More »