Skip to content

Instantly share code, notes, and snippets.

@PhiHuyHoang
Created September 12, 2018 21:47
Show Gist options
  • Save PhiHuyHoang/3ce7e7dbbd9ee9ca7512238e3d8b31f7 to your computer and use it in GitHub Desktop.
Save PhiHuyHoang/3ce7e7dbbd9ee9ca7512238e3d8b31f7 to your computer and use it in GitHub Desktop.
method constructor function example C#
log.LogThis("Hello, delegates"); Thread.Sleep(1000);
log.LogThis("Apache started..."); Thread.Sleep(1000);
log.LogThis("Mysql started..."); Thread.Sleep(1000);
log.LogThis("Exim started..."); Thread.Sleep(1000);
log.LogThis("Pureftpd started..."); Thread.Sleep(1000);
log.LogThis("Influxdb started..."); Thread.Sleep(1000);
log.LogThis("Google started..."); Thread.Sleep(1000);
log.LogThis("Git started..."); Thread.Sleep(1000);
log.LogThis("Docker started..."); Thread.Sleep(1000);
log.LogThis("Apache stopped..."); Thread.Sleep(1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment