What is the Difference between a sub and a function?
Answers were Sorted based on User's Feedback
Answer / abc
sub dose not return the value whereas function return the
value.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / zubair khan
SUB NOT RETURN THE VALUE WHERE FUNCTION RETURN THE VALUE.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / kamlesh sharma
through sub keyword we define a procedure which never
return value
and function may return value
Is This Answer Correct ? | 1 Yes | 0 No |
Can we maintain state in webservice?
What is a type c#?
What is getenumerator?
In how many ways you can overload a method?
What is the difference between yield and return?
What are callback methods in c#?
Why cannot you specify the accessibility modifier for methods inside the interface?
How many bytes is a char c#?
Write a functin to add two no. Both no can be int, float.
What is as keyword in c#?
What are generics in c#.net?
Why c# is called c sharp?