Switch statement is one of the conditional statements in c# such as if else.Switch statement in C# is a concise way of writing conditions specially when your code is cluttered with lots of else if conditions,which is making code difficult to … [Continue reading] about Switch statement in C#
Overview of ASP.NET Core
ASP.NET framework is built on top of .net framework which was released more than 15 years back.The shortcomings of asp.net webforms such as limited control over the generated html and testability are overcome in asp.net MVC framework ASP.NET MVC is … [Continue reading] about Overview of ASP.NET Core
Reading Configuration Information in Asp.net Core
Configuration in asp.net core Asp.net Core supports lots of config providers for different sources such as: Command-line Configuration Provider Environment Variables Configuration Provider File Configuration Provider XML Configuration … [Continue reading] about Reading Configuration Information in Asp.net Core
For loop in TypeScript
There are multiple ways to loop over list of items in TypeScript.You select the method depending upon your requirement.For example you can use the for loop to iterate over all the items in a collection. Looping from start index to end index For … [Continue reading] about For loop in TypeScript
Object initializer in C#
Many times you need to initialize class objects while creating them.One obvious approach is that you can use constructors for this.Suppose if you have declared a class as below: public class Products { public int Category { get; set; } public … [Continue reading] about Object initializer in C#