using System.Threading.Tasks; using System; namespace Booru.Net.Tests { class Program { static void Main(string[] args) => StartAsync().GetAwaiter().GetResult(); static async Task StartAsync() { var BooruClient = new BooruClient(); var posts = await BooruClient.GetE621ImagesAsync("nintendo"); Console.ReadLine(); } } }