Files
behavioral-patterns/src/TemplatePattern/WorkersExample/Manager.cs
2016-07-14 12:29:01 +03:00

20 lines
449 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TemplatePattern.WorkersExample
{
public class Manager : Worker
{
protected override void GoToWork()
{
Console.WriteLine("Get an expensive car, and go to work");
}
protected override void Work()
{
Console.WriteLine("Convince other people to work");
}
}
}