コード例 #1
0
ファイル: Program.cs プロジェクト: qaiserfcc/OOPPractices
        public sampStru sqrLength()
        {
            sampStru rct = new sampStru();

            Console.Write("length : ");
            rct.Value = rct.Read();
            return(rct);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: qaiserfcc/OOPPractices
        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();
        }