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's the difference between class and object?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
What is a dynamic assembly?
What is xml serialization and deserialization in c#?
What is garbage collection? How to force garbage collector to run?
Can a string be null c#?
Why dependency injection is used in c#?
What does return do in for loop?
What is parsing? How to parse a date time string?
what are windows services?
What is an actual parameter?
Can a dictionary have the same key?
Which are access modifiers available in c#?
Why data types are important in c#?
What is ienumerable t in c#?