static void Main(string[] args) { var coffeMaker = new CoffeMaker(); var teaMaker = new TeaMaker(); coffeMaker.PrepareDrink(); teaMaker.PrepareDrink(); var myClass = new MySealedClass(); myClass.TemplateMethod(); Console.ReadLine(); }