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 does Dispose method do with the connection object?
Explain About friend and Protected friend
How many types of constructors are there in c#?
Why do I get an error (cs1006) when trying to declare a method without specifying a return type?
What is a long in c#?
What is the difference between abstract and abstraction?
Can we change static variable value in c#?
What are the types of comments in c#?
What is null propagation c#?
What does break do in loop?
Describe a Struct ?
What?s the difference between the Debug class and Trace class?