static void Main(string[] args) { using (var codeLock = new CodeLock()) { codeLock.Post("test"); codeLock.Post("key"); codeLock.Post("hello world!"); codeLock.Post("lock"); codeLock.Post("test"); Console.ReadLine(); } }
static void Main(string[] args) { using (var codeLock = new CodeLock()) { codeLock.Post("test"); codeLock.Post("key"); codeLock.Post("hello world!"); codeLock.Post("lock"); codeLock.Post("test"); Console.ReadLine(); } }