Question: Which of the following statements is correct about a namespace in C#.NET?

Options

A : Namespaces help us to control the visibility of the elements present in it.

B : A namespace can contain a class but not another namespace.

C : If not mentioned, then the name 'root' gets assigned to the namespace.

D : It is necessary to use the using statement to be able to use an element of a namespace.

Click to view Correct Answer

Previous || Next

Namespaces - General Questions more questions

Which of the following statements is correct about the C#.NET....

Which of the following is the correct way to implement....

If a namespace is present in a library then which....

Which of the following is NOT a namespace in the....

Which of the following statments are the correct way to....

Which of the following is absolutely neccessary to use a....

If a class called Point is present in namespace n1....

Which of the followings are NOT a .NET namespace?

Which of the following statements is correct about namespaces in....

Which of the following is correct way to rewrite the....

Attributes - General Questions more Online Exam Quiz

Exception Handling - General Questions

Functions and Subroutines - General Questions

Inheritance - General Questions

Interfaces - General Questions

Operators - General Questions

Polymorphism - General Questions

Properties - General Questions

Structures - General Questions

Advanced SQL - General Questions