C#---Exercise - Create reusable methods no correct answer::

shimsy Purushu C P 0 Reputation points
2024-02-23T10:47:08.0966667+00:00

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.

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
2,278 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.