Syntax of while loop in C sharp
Write the syntax of the while loop in the C# program.
Expert
Syntax of the while loop in the C# is as follows:
while(condition) //condition
{
//statements
}
An example of the while loop in C# is:
int i = 0;
while(i < 5)
Console.WriteLine("{0} ", i);
i++;
Ooutput of the above code is: 0 1 2 3 4.
State the main components of .NET Framework?
Write the two properties of the GridView control which have to be specified to turn on paging and sorting?
State the use of the Select clause and SelectMany() method in LINQ?
Differentiate between Web server controls and HTML?
Why is XML InfoSet specification distinct from the Xml DOM? Explain what does the InfoSet attempt to resolve?
Explain the working of cookie less session?
What is Code Access Security (CAS)?
How to ensure that no one has interfered with ViewState in the Web page?
Differentiate between the HyperLink control and the LinkButton control?
Write the difference between adding items into cache by a Add() method and by the Insert() method?
18,76,764
1960484 Asked
3,689
Active Tutors
1432406
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!