- 1

Fill in the blanks to use the generic method Func for the x and y variables:

Fill in the blanks to use the generic method Func for the x and y variables: static void Func<T U (T x U y) { Console.WriteLine(x+" "+y); } static void Main(string[] args) { double x = 7.42; string y = "test"; Func(x, ); }

7th Dec 2018, 6:10 PM
Danish Ullah
Danish Ullah - avatar
2 ответов
+ 1
static void Func<T , U > (T x , U y) { Console.WriteLine(x+" "+y); } static void Main(string[] args) { double x = 7.42; string y = "test"; Func(x , y ); }
10th Feb 2021, 4:17 AM
Brinsley Demenezes
Brinsley Demenezes - avatar
- 6
The Q&A Section is a place for Questions about Programming. This Riddle you may post in the Quiz Factory https://www.sololearn.com/Discuss/1316935/?ref=app
7th Dec 2018, 7:24 PM
Sebastian Keßler
Sebastian Keßler - avatar