Created
May 1, 2018 10:28
-
-
Save jesuscampos/0714db67c18539d7fb89222a268adb70 to your computer and use it in GitHub Desktop.
Main c# 7.1 async
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static async Task Main(string[] args) | |
{ | |
using (var reader = File.OpenText("MyFile.txt")) | |
{ | |
var fileText = await reader.ReadToEndAsync(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment