Sub-procedure and Function
State the major difference between the sub-procedure and function?
Expert
Sub-procedure is a block of multiple visual basic statements within the Sub and End Sub statements. It is used for performing specific tasks, like changing properties of the objects, data displaying, and receiving or processing an output. A sub-procedure can be defined anywhere in the program, such as in modules, structures, and classes. Arguments in the sub-procedure can be specified; but, it does not return a new value.
Function is also a set of statements within the Function and End Function statements. It is similar to the sub-procedure and performs the same task.
Main difference between the function and the sub-procedure is that, the sub-procedures do not return a value while functions do.
Illustrate the terms Persistent cookie as well as Session cookie?
Briefly describe the function of a CheckState property of a CheckBox control?
State the two most important categories which distinctly categorize variables of C# programs.
What is the duration for items stored in the ViewState?
Name some methods, available in .NET 4.0, which are used to delete and add items from the ListBox control?
State the different ways by which a method can be overloaded?
Explain briefly the term AutoPostBack?
State some of the use of ScriptManager control in the AJAX?
Explain what is meant by CTS, and how it is related to the CLS?
State different types of literals?
18,76,764
1956349 Asked
3,689
Active Tutors
1430443
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!