Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC#async await basicsSingle-choice MCQ

What does awaiting this method give you, and what type does the method return?

async Task<int> GetCountAsync() { await Task.Delay(100); return 42; } // usage: int n = await GetCountAsync();