Created
November 13, 2017 08:11
-
-
Save IshamMohamed/24c5728e21ff9ebbc74eee1946251603 to your computer and use it in GitHub Desktop.
C# 7.1 in VS 2015
This file contains 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
class Program | |
{ | |
static async Task Main(string[] args) | |
{ | |
await Task.Delay(5000); | |
Console.Beep(); | |
} | |
} |
This file contains 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
class Program | |
{ | |
static async Task Main(string[] args) | |
{ | |
int count = 5; | |
string label = "Colors used in the map"; | |
var pair = (count, label); | |
Console.Write(pair); | |
Console.ReadKey(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment