+ 1

Help with answer

Hello i'm stuck on this part in the C# Course for the past 1 hour, could someone help me please? Fill in the blanks to declare a generic method that displays its argument value. static void Print (blank) T (blank) (T x) { Console.WriteLine((blank)); }

6th May 2021, 6:17 AM
Mateusz Jezierski
Mateusz Jezierski - avatar
1 Answer
0
Mateusz Jezierski Explanation is already given in lesson. Generic type can be write like <T> You have to print argument x here.
6th May 2021, 9:20 AM
A͢J
A͢J - avatar