Posts in Category: csharp article

How to Measure Execution Time in C#

Introduction

Sometimes we developers may have more than one way to do a single task. In those cases we can choose the best method based on their execution time. The article covers best methods to measure execution time of a complete c# program or a part of it with better

Read More

Short-circuit Evaluation in C#

Introduction

Hi everyone , in this article we’ll discuss C# short-circuit logical operators && and || in depth. Most of us must have used these operators before, but many of them don’t know about why we use && instead of &.Use of these operators(&& and ||) is one of the best practice

Read More

String Vs string in C#

Introduction

In this post I would like to discuss about String Vs string in c#.It is a common interview question for c# beginners.

String vs string

String is a class in .Net library while string is a c# alias or keyword for String class.

String is a .Net Framework date type.Both String and

Read More