Q13
What is the correct way to define a method named PrintMessage that does not take any parameters and does not return any value in C#?
A.
PrintMessage(void)
B.
void PrintMessage(void)
C.
PrintMessage()
D.
void PrintMessage()
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board