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.
Explain the working of cookie less session?
Describe the naming conventions that are necessary for XML elements tags?
Which statement can be used to replace many if-else statements in the code.
Write ASP.NET configuration options that are supported in ASP.NET implementation on shared Web hosting platform?
Describe the endpoint in the WCF service in brief.
Mention different types of data providers available in .NET Framework.
State the different types of authentication techniques which are used in connection strings to connect applications of .NET with Microsoft SQL Server?
How one can retrieve the customized properties of the .NET application from a XML .config file?
Write down the different ways of hosting the WCF service?
Why XMLHttpRequest object is used in the AJAX?
18,76,764
1938821 Asked
3,689
Active Tutors
1449719
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!