public static void Main(string[] args) { Foo.Car fooCar = new Foo.Car(); fooCar.Go(); Bar.Car barCar = new Bar.Car(); barCar.Go(); }
public static void Main(string[] args) { System.Console.WriteLine("NameSpace"); Foo.Car car1 = new Foo.Car(); car1.Go(); var car2 = new Bar.Car(); car2.Go(); }