What is the Difference between a sub and a function?
Answer Posted / raju chauhan
Like a Function procedure, a Sub procedure is a separate
procedure that can take arguments, perform a series of
statements, and change the value of its arguments. However,
unlike a Function procedure, which returns a value, a Sub
procedure can't be used in an expression.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Please explain what is the difference between a class and an object?
What is heap and what is stack?
Explain the differences between server-side code and client-side code.
What is connection pooling and how do you make your application use it?
Explain why do we use msmq?
What is gac in .net?
How is .net core cross platform?
What operating systems does the .net framework run on?
How to implement getcommon method in class a? Are you seeing any problem in the implementation?
What is clr in .net?
Describe the difference between inline and code behind which is best in a loosely coupled solution?
How we can achieve Connection pooling in .Net?
What is the single responsibility principle?
What is meant by globalization and localization?
What does stateless mean?