C#.NET — Which of the following CANNOT belong to a namespace?

C# Programming Namespaces Difficulty: Easy
Choose an option
  • A
    class
  • B
    struct
  • C
    enum
  • D
    Data
  • E
    interface

Answer

Correct Answer: Data

Explanation

Fact:Namespaces can contain classes, structs, enums, delegates, and interfaces. "Data" is not a valid type declaration keyword in C#.

Final Answer:Data

Discussion & Comments
No comments yet. Be the first to comment!
Join Discussion