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 »
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 »
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 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 »
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 »
In C#, we often used Out parameter, as like call by reference, mostly when we want to return multiple values from a method. Whenever we call a method with an Out parameter, we must have to declare that variable first, before we use it. Now, with C# 7.0, we can directly declare the Out Variable and you don’t… Read More »
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 »