Q17
What is the correct way to declare a constant string in C#?
A.
const MESSAGE = "Hello";
B.
MESSAGE const = "Hello";
C.
const string MESSAGE = "Hello";
AnswerD.
string MESSAGE = "Hello";
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board