Change the data type of a Property of base class in derived class

  • Thread starter Thread starter essamce
  • Start date Start date
E

essamce

Guest
hi, I want to Change the data type of a Property of base class in derived class like so

  1. public abstract class A
  2. {
  3. public string Name { get; set; }
  4. }
  5. public abstract class B : A
  6. {
  7. public char[ ] Name { get; set; }
  8. }

Continue reading...
 
Back
Top