Namespaces and Using Directives

Let's learn about namespaces and the use of directives.

What is a namespace?

A namespace helps organize a large group of related code. To use a namespace, call it with the using directive or include it before the class name.

Syntax

namespace NamespaceExample1Console
{
  // Empty Namespace
}

// In C#
...