This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C# decorator example where every concrete decorator needs to implement doConcrete() instead of remembering to call base.doit() | |
// based on this example: https://sourcemaking.com/design_patterns/decorator/java/1 | |
using System; | |
namespace Project1 | |
{ | |
class Program | |
{ | |
public static void Main(string[] args) |