We use cookies to enhance your browsing experience.
Basic async method implementation.
public async Task<string> GetDataAsync() { using (var client = new HttpClient()) { return await client.GetStringAsync("https://api.example.com/data"); } }
We use cookies to enhance your experience and serve personalized ads.