예제 #1
0
        static void Main(string[] args)
        {
            AreaClass myShape = new AreaClass();

            myShape.width  = 12.94;
            myShape.length = 6.87;
            myShape.InformationDisplayed();
            myShape.UserDetails();
            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            //giving all the valies and calling the functions
            AreaClass myShape = new AreaClass();

            myShape.width  = 12.94;
            myShape.length = 6.87;
            myShape.informationDisplayed();
            myShape.UserDetails();
            Console.ReadKey();
        }