Mzsmunna
10/16/2019 - 1:49 PM

class student



namespace Lab2MzsCH
{
    class student
    {
        //string name, id;
        string name="Mzs";
        string id="15-29817-2";

        public void Registration()
        {  
            System.Console.WriteLine("doing registration ");
        }

        public void SetName(string name)
        {
            this.name = name;
        }
        public string GetName()
        {
            return this.name;
        }

        public void SetID(string id)
        {
            this.id = id;
        }
        public string GetID()
        {
            return this.id;
        }
    }
}