Kizspy | Question: 45
(Choose 1 answer)
Identify the correct code that defines a generic class?
A. class GenericClass<T>
{
public T Value { get; set; }
}
B. class GenericClass
{
public object Value { get; set; }
}
C. class GenericClass(int value)
{
public int Value { get; set; }
}
D. class GenericClass<T, T>
{
public T Value { get; set; }
}
PUOVERFLOW.COM