Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- InstanceTask = Task.Run(() => ControllerAsync());
- private async Task ControllerAsync()
- {
- int c = 0;
- while (true)
- {
- DataAccessManager.InsertEvent("Inserting " + c);
- c++;
- Task.Delay(500).Wait();
- }
- }
Add Comment
Please, Sign In to add comment