using System;
using System.Net.Http;
namespace ConsoleApp4
{
class Program
static string endPoint =
"https://backendhol.azurewebsites.net/api/something";
static void Main(string[] args)
Console.WriteLine(1);
var foo = Level1();
Console.WriteLine(2);
Console.WriteLine(foo);
}
static string Level1()
Console.WriteLine(3);
var foo = Level2();
Console.WriteLine(4);
return foo;
static string Level2()
Console.WriteLine(5);
var foo = new HttpClient()
.GetStringAsync(endPoint).Result;
Console.WriteLine(6);