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
What are the properties of string?
What are the delegates in c#?
What is generic delegates in c#?
What is the difference between Decorator and Adapter pattern?
What are the advantages of using partial classes?
What is the output of TextWriterTraceListener redirected?
What are the boolean data types in c#?
Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.
Why var is used in c#?
How do you sort a list in c#?
What is parse method in c#?
How does dictionary work in c#?
What you mean by inner exception in c#?
What is hashtable c#?
Why do we use interface in c#?