C#---Exercise - Create reusable methods no correct answer::
shimsy Purushu C P
0
Reputation points
Check your knowledge
1.
Suppose there's a method named ConvertCurrency
. Which of the following lines of code is a valid method signature?
ConvertCurrency();
ConvertCurrency() { }
void ConvertCurrency(){};
all the options are wrong, but its showing option 3 is correct, there is unnecessary semicolon in the option so its syntax error.
Sign in to answer