Q30
What is the correct way to call a method named PrintName with a string parameter name in C#?
A.
PrintName("John");
B.
PrintName(name: "John");
AnswerC.
PrintName = "John";
D.
PrintName(name);
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board