c#using System;using System.Net.Http;using System.Threading.Tasks;public class Keys { public static void Main (string[] args) { public string APIKey = "Key"; public string URL = $"example.com/key={APIKey}"; }}class Call { static async Task Main(string[] args) { using (HttpClient client = new HttpClient()) { HttpResponseMessage response = await client.GetAsync(Keys.URL); string result = await response.Content.ReadAsStringAsync(); Console.WriteLine(result); } }}
URL
Keys
Call