Examveda

What is the purpose of method parameters in C#?

A. To define the name of the method

B. To specify the return type of the method

C. To define the access modifier of the method

D. To pass data to the method

Answer: Option D


Join The Discussion

Related Questions on Functions and Methods in C Sharp