The enum type is one of the common features that we used during almost every implementation. While the declarations and usages look very straightforward, there are many things we should be very clear about, and this topic is one of them. How to iterate through an Enum in C#? or can you loop through with all the enum… Read More »
The recent updates of Visual Studio 2017 (version 15.5 Preview) comprise with several sets of new features and improvements. Once of such great enhancement is “step-back” while debugging. Now, you can perform a step-backward and forward while debugging your code with IntelliTrace Debugging. Visual Studio takes snapshots of each breakpoint while debugging and allows us to take a… Read More »
Visual Studio 2017 has a re-designed the start page that prioritizes and rearranged items, which made it cleaner and easy to access on the things that you need to get it started. Be it a Most Recent Used (MRU) project lists, opening an existing project or even choosing the project template for your new project – start page… Read More »
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 »