Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created July 25, 2016 20:01
Show Gist options
  • Save Fhernd/c81a5337e9fbd3f17bcdfd4bbe19c9aa to your computer and use it in GitHub Desktop.
Save Fhernd/c81a5337e9fbd3f17bcdfd4bbe19c9aa to your computer and use it in GitHub Desktop.
Herencia clase Comida. [OrtizOL]
public class Comida : IEquatable<Comida>
{
public virtual bool Equals(Comida otroObjeto)
{
throw new NotImplementedException();
}
}
public class ComidaCocinada : Comida, IEquatable<ComidaCocinada>
{
public virtual bool Equals(ComidaCocinada otroObjeto)
{
throw new NotImplementedException();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment