CodeLiturgy.Dashboard/BlueWest.Console/Program.cs

25 lines
397 B
C#

using System.Globalization;
/*var s = CultureInfo.GetCultures(CultureTypes.AllCultures);
foreach (var culture in s)
{
var actualCulture = culture;
Console.WriteLine(actualCulture);
}*/
async Task TaskReceiver(Func<Task> task)
{
Console.WriteLine("Hello");
await task.Invoke();
}
async Task Task2()
{
Console.WriteLine("World");
}
var f = Task2;
await TaskReceiver(f);