0

Fill in the blanks to define a generic class, which has a member method that returns the value of x. Temp { T x; public

unable to fill blanks properly, can anyone help?

16th Sep 2016, 6:41 AM
Priyanka Pasalkar
Priyanka Pasalkar - avatar
5 ответов
+ 5
<T>, T, public
16th Sep 2016, 8:53 AM
Zen
Zen - avatar
+ 1
tanks
13th Jan 2019, 11:36 AM
Mohammadreza Rezaei
Mohammadreza Rezaei - avatar
+ 1
static void Print<T>(T x) { Console.WriteLine(x); }
29th Apr 2020, 3:29 PM
Ц. Амраа
Ц. Амраа - avatar
0
class Store<T> { T x; public Store(T val) { x = val; } }
11th Dec 2019, 9:39 PM
Abdul Rhman Bayoumi Mohammed
0
class Store<T> { T x; public Store(T val) { x = val; } }
10th Jan 2020, 7:28 AM
Đào Ngọc Tuấn Anh
Đào Ngọc Tuấn Anh - avatar