using System; class Runner { static void Main() { A a = new A(); // how to say a.PrintStuff() without a \'using\' Console.Read();
You can add extensions method without namespace. This will affect the whole systems which is not recommended.
public static class StringExtensions { public static void HelloWorld(this String s) { Console.Write("Hello World"); } } string str = "s"; str.HelloWorld();