Examveda

What is the correct way to call a method named CalculateArea with parameters width and height in C#?

A. CalculateArea(width, height);

B. CalculateArea(int width, int height);

C. CalculateArea(10, 20);

D. int result = CalculateArea(width, height);

Answer: Option B


Join The Discussion

Related Questions on Functions and Methods in C Sharp