Created
December 5, 2018 23:46
-
-
Save mariomeyrelles/80565bb459bd7c05ecf414caad49d1c7 to your computer and use it in GitHub Desktop.
hkt1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
namespace ModeloCozinhaIndustrial | |
{ | |
class Program | |
{ | |
public class Ingrediente | |
{ | |
public string Nome; | |
public decimal Quantidade; | |
} | |
public class ItemCardapio { } | |
public class Ovo : Ingrediente { } | |
public class Manteiga : Ingrediente { } | |
public class Leite : Ingrediente { } | |
public class Sal : Ingrediente { } | |
public class OvoMexido : ItemCardapio { } | |
public class Cozinha | |
{ | |
public OvoMexido PrepararOvoMexido(List<Ingrediente> ingredientes) | |
{ | |
Console.WriteLine("Preparando ovo mexido" ); | |
throw new NotImplementedException(); | |
} | |
} | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World!"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment