private static void WithDecoratorClass() { // Decorate the class var pp = new PrintablePerson(new Person()); pp.FirstName = "John"; pp.LastName = "Public"; pp.Print(); }