using System;
namespace Foo {
public class Money {
public Money() {
}
public void Print( ) {
Console.WriteLine("Foo.Money.Print");
}
}
}
namespace Bar {
public class Money {
public Money( ) {
}
public void Print( ) {
Console.WriteLine("Bar.Money.Print");
}
}
}
public class MainClass {
public static void Main( ) {
Foo.Money fm = new Foo.Money();
Bar.Money bm = new Bar.Money();
fm.Print( );
bm.Print( );
}
}
|