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

Can you edit data in repeater control? How?

575


What are Attributes in .NET?

590


Explain what is the difference between a class and an object, and how do these terms relate to each other?

549


Tell us what is json data, and what is one way that .net developers can work with json?

574


What do you mean by web service?

659






What is the difference between response.redirect & server.transfer?

559


What is the difference between .net 2000 and .net 2005(features)? Which one is better?

529


Explain what is a manifest in .net?

578


What do the terms “boxing” and “unboxing” mean?

545


Describe the use of following com+ services jit activation, queued components, object pooling.?

538


What is managed code in .NET?

651


What is common type system (cts)?

567


Explain re-clarification of object based in .net?

582


What is multiThreading in .NET?

601


What is Event Bubbling in .NET?

672