Differentiate function and sub-procedure
Write major difference between function and sub-procedure?
Expert
Sub-procedure is the block of several visual basic statements within Sub and End Sub statements. It is used to carry out certain tasks, like displaying an output, changing properties of the objects, and receiving or processing data. We can define the sub-procedure anywhere in the program, like in classes, modules, and structures.We can also give arguments in the sub-procedure; though, it does not return the new value.
Function is also a set of the statements within a Function and End Function statements. This is similar to a sub-procedure and does a same task. Important difference between the function and sub-procedure is that the sub-procedures do not return the value whereas functions do.
Write the difference between an interface and abstract class?
Illustrate types of Session state management options available with ASP.NET?
What do you mean by the term base class of .net?
Which statement can be used to replace many if-else statements in the code.
Write the difference between for loop and the while in C#.
Write the name of the control that you will use to make sure which values in the two different controls match?
What is meant by the term Assembly?
Why Windows Installer is used?
What are the various ideas given by delegate? Describe in brief.
List the usages of Command object in ADO.NET?
18,76,764
1946812 Asked
3,689
Active Tutors
1458089
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!