Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Namespaces
Which of the following statements is correct about a namespace used in C#.NET?
Nested namespaces are not allowed.
Importing outer namespace imports inner namespace.
Nested namespaces are allowed.
If nested, the namespaces cannot be split across files.
Correct Answer:
Nested namespaces are allowed.
← Previous Question
Next Question→
More Questions from
Namespaces
Which of the following statements are correct about a namespace used in C#.NET? Classes must belong to a namespace, whereas structures need not. Every class, struct, enum, delegate and interlace has to belong to some or the other namespace. All elements of the namespace have to belong to one file. If not mentioned, a namespace takes the name of the current project. The namespace should be imported to be able to use the elements in it.
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments