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.
What are the components of web form in ASP.NET?
Explain about the different services provided by the DLR to CLR.
Is it possible for users to define their own exceptions in code?
Write the two properties of the GridView control which have to be specified to turn on paging and sorting?
Name the property that is used to check whether a DataReader is closed or opened?
State the characteristics of the reference-type variables which is supported in the C# programming language.
What do you understand by the term states in ASP.NET?
What are the layouts of ASP.NET Pages?
Briefly describe key-based dependency and file-based dependency?
Describe DataReader object?
18,76,764
1931943 Asked
3,689
Active Tutors
1421332
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!