Skip to content

Instantly share code, notes, and snippets.

@mu88
Created December 7, 2019 11:29
Show Gist options
  • Save mu88/e22b330eececf3b42c781c37e263c7b4 to your computer and use it in GitHub Desktop.
Save mu88/e22b330eececf3b42c781c37e263c7b4 to your computer and use it in GitHub Desktop.
Docker and dotTrace - Program.cs
using System;
using System.Threading.Tasks;
namespace TestWithDocker
{
internal class Program
{
private static async Task Main()
{
while (true)
{
await Task.Delay(1000);
DoSomeWork();
}
}
private static void DoSomeWork()
{
for (var i = 0; i < 100; i++)
{
Console.WriteLine(new Random().Next());
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment