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.
State the difference between System.StringBuilder and System.String classes?
Why is XML InfoSet specification distinct from the Xml DOM? Explain what does the InfoSet attempt to resolve?
List the advantages of the DLR?
Describe briefly LINQ (Language Integrated Query)?
Why do we require the nested master pages in the Web site?
State the values that can be allocated to the DialogResult property of the Button control?
Specify the function of CheckState property of the CheckBox control?
Explain the difference between the Response.Output.Write() and Response.Write() methods?
Write the difference between Select clause and the SelectMany() method in theLINQ?
State the basic features of OOPs.
18,76,764
1948671 Asked
3,689
Active Tutors
1413765
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!