

MCQOPTIONS
Saved Bookmarks
1. |
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. |
Answer» D. If namespaces are nested, then it is necessary to use using statement while using the elements of the inner namespace. | |