title: Inherit only limited properties in derived class in c#
body: <p>In c#:</p>
  
  <p>I have UserProfile class(model) which contains fields like: FName, LName, Email, Password</p>
  
  <p>How can I create a class(model) which is derived from UserProfile class(model) and contains only selected properties.</p>
  
  <p>For example, I want to create a Login class(model) from UserProfile class(model) and I only want to keep Email and Password properties.</p>
  
  <p>I want to create ForgotPassword class(model) from UserProfile class(model) where I only want to keep Email property.</p>