I have the below code in my Application.
public class GeneralInfo
        {
            private string _id;
            private string _name;           
            public string id
            {
                set
                {
                    _id = value;
                }
                get
                {
                    return _id;
                }
            }
            public string name
            {
                set
                {
                    _name = value;
                }
                get
                {
                    return _name;
                }
            }
        }
       public class SecureInfo
       {
           private string _password;
           public string password
           {
               set
               {
                   _password = value;
               }
               get
               {
                   return _password;
               }
           }
       }
public class User
{
}
I need to apply multiple inheritance in the above code ie. the classes GeneralInfo,SecureInfo properties should be accessible in the user class.
I know using interface Multiple inheritance can be achieved. But i need to define the properties in the base class which is restricted in Interface.
How I can achieve this?
 
     
     
     
     
     
     
     
     
    