Esempio n. 1
0
        static void Main(string[] args)
        {
            order Todd = new order();
            //int count, cost;
            //string name;

            Console.Write("\nEnter the item Name: ");
            Todd.itemName = Console.ReadLine();

            Console.Write("\nEnter the Count: ");
            Todd.unitCount = Convert.ToDouble(Console.ReadLine());

            Console.Write("\nEnter the Cost: ");
            Todd.unitCost = Convert.ToDouble(Console.ReadLine());

            Console.WriteLine("\n{0}",Todd.itemInfo());

            Console.ReadKey();
        }