예제 #1
0
        public sampStru sqrLength()
        {
            sampStru rct = new sampStru();

            Console.Write("length : ");
            rct.Value = rct.Read();
            return(rct);
        }
예제 #2
0
        public void newSquare()
        {
            sampStru rct = new sampStru();

            Console.WriteLine("\nInput the dimensions of the Square( equal length and breadth ) : ");
            ln = sqrLength();
            Console.Write("breadth : ");
            ht.Value = rct.Read();
        }