Explain the difference between a sub and a function?

Answer Posted / ravi

Sub means subroutine which does not return any output
it will accept any number of parameters with no return type

Function which is having return type

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a static class in c#?

588


What is session management in c#?

628


Do loops in c#?

573


What is difference between an reference type and value type in C#?

658


How to implement a singleton design pattern in c#?

564






What is dbml file in c#?

639


explain the features of static/shared classes.

592


What are Regex / regular expressions ?

691


Explain the Different types of configuration files in .net?

661


Which framework is best for desktop application?

605


Does c# support templates?

637


Explain about finalize method?

631


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1760


What is datatable in c#?

569


What is default c#?

592