Skip to content

Instantly share code, notes, and snippets.

View Benjin's full-sized avatar
🧀

Benjin Dubishar Benjin

🧀
View GitHub Profile
@Benjin
Benjin / Async Demo
Last active August 29, 2015 14:11
Demonstrates proper use of async and await keywords, and breaking back into synchronous code without any duplication of logic.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using ExtensionMethods;
namespace TaskTest
{