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.
Illustrate the meaning of data encapsulation?
Briefly explain about Web server controls in ASP.NET?
In what way we can deploy the ASP.NET Web application?
Write down the different ways of hosting the WCF service?
Specify, what is an Activity?
Write the syntax of the for loop in C# code?
Explain how exception handling is changed in the .NET Framework 4.0?
What is the EventLog class?
State the difference between GroupBox and Panel control?
What are the components of web form in ASP.NET?
18,76,764
1941508 Asked
3,689
Active Tutors
1442508
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!