control statements in c#

Control Statements in C#-:  C# provides a variety of statements. Most of these statements will be familiar to developers who have programmed in C and C++. C# provide following statement-: 1     labeled-statement 2     declaration-statement 3      embedded-statement-: In the c# embedded statement has many types as like block empty-statement expression-statement selection-statement iteration-statement … Read more

Looping in C language

Introduction of looping -: Suppose if we want to calculate all sum of integer 1 to 1000. It is not possible in  IF statement. This will be written in this way sum = sum + n*n; 1000 time it is called the loop. In looping a sequence of statement are executed until some conditional for termination … Read more