Scenario:
Assume I want to define my own class.
public class Person { } I wish to put it in a namespace System.
Note: I have not included the directive, 'using System' at the top..
namespace System { public class Person { public void Display() { Console.WriteLine("I am mine"); } } } Though I have not included using System; directive at the top, I am still able to access System.Console.WriteLine in my method, since my declared namespace is System.
How is this possible? how does it go about?