Monthly Archive:: June 2015

C# Enum – Massive Guide on C# Enumerations

Enum is a keyword in C# that is used to declare an Enumeration. Enumerations also known as Enums are special sets of named values which generally correspond to a set of constants. Enums are helpful when you have to declare a set of constants and each one of the constants corresponds to a number. Enums

C# Stopwatch – How to Measure Time Elapsed Accurately in C#

If you are into code performance optimisation then you would have probably heard about the C# stopwatch class. It’s an awesome class that C# provides out of the box to programmers, by which they can measure the execution time of a piece of code. Stopwatch class is contained inside the ‘System. Diagnostics’ namespace and was