C# Programming - Functions and Subroutines - Discussion

Discussion Forum : Functions and Subroutines - General Questions (Q.No. 11)
11.
Which of the following statements are correct about functions used in C#.NET?
  1. Function definitions cannot be nested.
  2. Functions can be called recursively.
  3. If we do not return a value from a function then a value -1 gets returned.
  4. To return the control from middle of a function exit function should be used.
  5. Function calls can be nested.
1, 2, 5
2, 3, 5
2, 3
4, 5
None of these
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Kevin said:   7 years ago
Yes, we can write a nested function in C# using delegates.

Post your comments here:

Your comments will be displayed after verification.