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?
- Function definitions cannot be nested.
- Functions can be called recursively.
- If we do not return a value from a function then a value -1 gets returned.
- To return the control from middle of a function exit function should be used.
- Function calls can be nested.
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers