Vidyalelo
C# Programming · Q8

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 8

Q8

Which of the following is a valid C# statement?

A.
Console.WriteLine("Hello, World!");
Answer
B.
print("Hello, World!");
C.
System.out.println("Hello, World!");
D.
echo "Hello, World!";

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board