using System; namespace DesignPatterns.Core { public class Developer { public const int General = 0; public const int Agile = 1; private int developerType; public Developer(int developerType) { this.developerType = developerType; } public int HowMuchGreenbarLover() { if (developerType == General) return 3; else return 5; } public int HowHeavyRefactor() { if (developerType == General) return 3; else return 5; } public int HowHappy() { if (developerType == General) return 3; else return 5; } } }