Skip to content

Instantly share code, notes, and snippets.

@IshamMohamed
Created November 13, 2017 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IshamMohamed/24c5728e21ff9ebbc74eee1946251603 to your computer and use it in GitHub Desktop.
Save IshamMohamed/24c5728e21ff9ebbc74eee1946251603 to your computer and use it in GitHub Desktop.
C# 7.1 in VS 2015
class Program
{
static async Task Main(string[] args)
{
await Task.Delay(5000);
Console.Beep();
}
}
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