› Dot Net

Category Archives: Dot Net

Basics of Assertion in C#

 1 Comment

In this blog we will be explaining the basics of Assertion in C# code. The use of assert statements can be an effective way to catch program logic errors at runtime, and yet they are easily filtered out of production code. Usually assertions should not be used to check for errors in a user’s input. … Continue reading Basics of Assertion in C#

Delegate in C#

 1 Comment

In this blog we will be explaining you about Delegate in C# and types of delegate. In simple terms, C# has a data type that allows developers to pass methods as parameters of other methods. This data type is called a delegate. A delegate is a type that represents references to methods with a particular … Continue reading Delegate in C#