multiple inheritance using C#
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2256990/c-sharp-multiple-inheritance">c# multiple inheritance</a>  </p>
</blockquote>



<p>Am just creating a simple application using Asp.net, here I have 3 classes <code>User, Staff, Student</code>. In the <code>User</code> class I've properties like <code>UserName, Password, Email and Mobile</code> and in the <code>Staff and Student</code> class <code>General details like FirstName, MiddleName, LastName as well as Email, Mobile</code>.</p>

<p>Here whenever I add a new Staff or Student, I've to create a user account for them.</p>

<p>so in the User class, I tried, inheriting the Staff class, so that I can access the properties in the User class from the Staff.</p>

<p>after adding the staff data successfully, I need to call the <code>Add</code>(I have this already) method in the user class which ll create a user account for the staff with his datas.</p>

<p>And one more thing, I know that C# doesn't support multiple inheritance, here I need to inherit both Staff and Student class. how can I do this.</p>

<p>Can anyone help me here.</p>
