Ejemplo n.º 1
0
        static void Test_ConvertTo()
        {
            var from = new Cup();

            var becomes = from.ConvertTo(new CubicCentimeter());

            Console.WriteLine(becomes.Quantity.ToString() + " : " + becomes.Volume.ToString());
            Console.ReadLine();
        }