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?
5 Respuestas
+ 5
<T>, T, public
+ 1
tanks
+ 1
static void Print<T>(T x)
{
Console.WriteLine(x);
}
0
class Store<T> {
T x;
public Store(T val) {
x = val;
}
}
0
class Store<T> {
T x;
public Store(T val) {
x = val;
}
}