Explore topic-wise MCQs in Csharp.

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

1.

Which among the following is a .NET namespace?

A. System.Web
B. System.Process
C. System.Drawing2D
D. System.Drawing3D
Answer» D. System.Drawing3D
2.

Lib.Book b = new College.Lib.Book();

A. ;
B. Book b = new Book();
C. ;
D. using College.Lib;
Answer» C. ;
3.

Which is the correct statement about the namespaces in C#.NET?

A. Nesting of namespaces is permitted, provided all the inner namespaces are declared in the same file
B. A namespace cannot be tested
C. There is no limit on the number of levels while nesting namespaces
D. All of the mentioned
Answer» D. All of the mentioned