Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class LolForDimas
- {
- }
- public static class LolForDimasExtensions
- {
- public static TaskAwaiter GetAwaiter(this LolForDimas asyncOperation)
- {
- return Task.Delay(200).GetAwaiter();
- }
- }
- //using
- async Task Lol()
- {
- await new LolForDimas();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement