Namespaces

Q1: Which of the following statements is correct about namespaces in C#.NET?

A Namespaces can be nested only up to level 5.

B A namespace cannot be nested.

C There is no limit on the number of levels while nesting namespaces.

D If namespaces are nested, then it is necessary to use using statement while using the elements of the inner namespace.

E Nesting of namespaces is permitted, provided all the inner namespaces are declared in the same file.

ANS:C - There is no limit on the number of levels while nesting namespaces.

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.