Syntax of for loop
Explain the syntax of the “for” loop.
Expert
Syntax of using the for loop in C# code is as follows:
for(initializer; condition; loop expression) { //statements }
In the above syntax, “initializer” is the initial value of the variable, “condition” is the expression which is checked before the for loop is executed, and the “loop expression” either decrements or increments the loop counter.
Example of using for loop in C# is given in the following code:
for(int i = 0; i < 5; i++) Console.WriteLine("Hello");
In preceding code snippet, word “Hello” will get displayed for five times in the output window.
What is the role of the DynamicPopulateExtender control?
How an ellipse is created, which is non- rectangular window?
Define the terms Web server controls and Custom user Controls in Asp.net?
Explain, what is a host process?
Write down some of the features which are present in the VB 2005?
By which command we can turn-off and turn-on CAS?
Explain how VB Implements the Disconnected Architecture as similar to VB.Net?
Write the difference between a toolstrip split button and a toolstrip drop-down button ?
The information, like role management membership, profile, and Web parts personalization is stored in which database?
What is data type and how many types of data types are there in .NET ?
18,76,764
1947393 Asked
3,689
Active Tutors
1418240
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!