What is the Difference between a sub and a function?

Answer Posted / alam

Function always returns a value but sub does not.

Is This Answer Correct ?    22 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between managed and unmanaged code?

466


Please tell us what is the difference between override and overload in a method?

577


Does .net supports destructors concept?

1627


What is reflection in microsoft .net context?

578


Why do we use the “using” statement?

544






Explain about .net?

628


How will you load dynamic assembly? How will create assemblies at run time?

1623


What is an assembly? What are the different types of assemblies?

597


Interop Services?

1460


Difference abstract class and interface in .net?

610


What is difference between .net and .net core?

551


What is the difference between web application and enterprise application?

572


Difference between dispose and finallize method?

669


Can a try block have more than one catch block?

617


What is namespaces in .net?

651