Explore topic-wise MCQs in Csharp.

This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Csharp knowledge and support exam preparation. Choose a topic below to get started.

1.

4_3_2_1?$

A. 3 2 1
B. 5 4 3 2 1
C. 2 1
Answer» D.
2.

Code report error$

A. Code runs in infinite loop condition
B. Code gives output as 0 1 3 6 10 15 21 28 36 45
C. Code give output as 55
Answer» D.
3.

Which statement is correct among the mentioned statements?

A.
B. implements an infinite loop
C. Only 1 is correct
Answer» D.
4.

No output

A. hello
B. hello printed infinite times
C. Code will give error as expression syntax
Answer» B. hello printed infinite times