Skip to content

Instantly share code, notes, and snippets.

@mariomeyrelles
Created December 5, 2018 23:46
Show Gist options
  • Save mariomeyrelles/80565bb459bd7c05ecf414caad49d1c7 to your computer and use it in GitHub Desktop.
Save mariomeyrelles/80565bb459bd7c05ecf414caad49d1c7 to your computer and use it in GitHub Desktop.
hkt1
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