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

What does this generic method return for the given call?

T First<T>(List<T> items) => items[0]; var nums = new List<int> { 10, 20, 30 }; var result = First(nums);