Explain the difference between a sub and a function?
Answer / 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 |
What are strings in c#?
How do you comment out code in c#?
what happens if you inherit multiple interfaces and they have conflicting method names?
What is private constructor c#?
What is the use of flag in c#?
If a class is a ref type, how we can pass to a function.
what is ment by Unboxing?
What is polymorphism c# example?
Describe ways of cleaning up objects in c#.
Name some string escape sequences in c#.
What?s different about switch statements in C#?
what is bubbled event ? give suitable example in code vice with demo