Пример #1
0
        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();
        }