Examveda

What is the purpose of a return type in a method declaration in C#?

A. To specify the access modifier of the method

B. To specify the type of data returned by the method

C. To specify the parameters of the method

D. None of the above

Answer: Option B


Join The Discussion

Related Questions on Functions and Methods in C Sharp