static void Main(string[] args) { ILegendFactory factory = new SymbolFactory(); Console.WriteLine(factory.Create().Name); Console.ReadKey(); }
static void Main(string[] args) { ILegendFactory factory = new SymbolFactory(); Console.WriteLine( factory.Create().Name); Console.ReadKey(); }