コード例 #1
0
ファイル: Program.cs プロジェクト: payam49er/experiments
        static void Main(string[] args)
        {
            Ronly myread = new Ronly();
               Console.WriteLine(myread.ReadOnly);
               WriteOnly mywrite = new WriteOnly();
               mywrite.writemyname = "Pouria";
               mywrite.Display();

               Normal mynormal = new Normal();
               mynormal.Writedate(userName: "******", userAge: 31);
               mynormal.Displaydata();

               Console.ReadLine();
        }