Namespace Members

Namespaces are at the top of the food chain of the C# language element hierarchy. While namespaces may contain other namespaces, nothing else can encapsulate a namespace. Here's a list of all the C# language elements that go into namespaces:

  • classes

  • delegates

  • enums

  • interfaces

  • structs

  • namespaces

  • using directives

  • alias directives

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.