C# Enumeration

Posted in C#Tagged ,

Enumeration use for to assign multiple constant integral values to a single variable. Enumeration improves code clarity and makes program easier to maintain easy way. Enumeration in C# also provides more security by better error-checking technology and compiler warnings. An enumeration can be defined using enum keyword. In enumeration, you can define special set of….

C# Using Statement

Posted in C#Tagged ,

In this article i am explaining about using statement in c#.The using statement is usually used once you ought to one or a lot of resources during a section. The victimisation statement obtains one or numerous resources, executes them so releases the objects or resources. it’s wide used in information property through C#. Example: using….

C# Lock Statement

Posted in C#Tagged , ,

In this article i am explaining about lock statement in c#. The lock statement handle lock segment as a critical section and lock the object during the execution of program from other thread. Once the execution is completed it releases the lock and frees objects. Example: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace….