while and for loop in C#
Write differences between the while and for loop in C#.
Expert
The while and for loops are used to execute those units of code that need to be repeatedly executed, unless the result of the specified condition evaluates to false. Single difference between the two is in their syntax. For loop is distinguished by setting the explicit loop variable.
Briefly describe the term destructor?
Explain an identifier in detail?
Explain MaskedTextBox control? And also explain the function of Mask property?
Name the data type which the RangeValidator control supports?
Can a private class be declared in a namespace?
Explain the use of <sessionState> tag in a web.config file?
Explain the following methods DataAdapter.Update() and DataSetAcceptChanges()?
Illustrate the difference between the .dll extension and .exe extension files?
Explain MaskedTextBox control and what does the Mask property do?
Explain Hashtable?
18,76,764
1946070 Asked
3,689
Active Tutors
1459682
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!