Advertisement
Fhernd

Herencia.cs

Jul 25th, 2016
17,676
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. public class Comida : IEquatable<Comida>
  2. {
  3.     public virtual bool Equals(Comida otroObjeto)
  4.     {
  5.         throw new NotImplementedException();
  6.     }
  7. }
  8.  
  9. public class ComidaCocinada : Comida, IEquatable<ComidaCocinada>
  10. {
  11.     public virtual bool Equals(ComidaCocinada otroObjeto)
  12.     {
  13.         throw new NotImplementedException();
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement