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
What is the use of immutability?
Do you know what is .net standard?
What are the new 2.0 features useful for?
What is COM Interoperability in .NET
What is the difference between asp.net & vb.net and explain architecture?
Explain can the validation be done in the server side? Or this can be done only in the client side?
What are data types in .NET?
Explain webfarm vs webgardens in .net?
Explain how do assemblies find each other?
What is connected and diconnected database ?
Explain .NET architecture?
What is "common language runtime" (clr) in .net?
How to manage pagination in a page using .net?
I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?
Tell us what is heap and what is stack?