Hello, Programmers.
I've got the following problem:I Have a class that uses generics like
above:
class ClassName<typen ame>
{
public void method(typename var)
{
var.Method2(); //I've got a error here.
}
}
How can I Access Method2 from the class typename ???
Thanks in advance.
I've got the following problem:I Have a class that uses generics like
above:
class ClassName<typen ame>
{
public void method(typename var)
{
var.Method2(); //I've got a error here.
}
}
How can I Access Method2 from the class typename ???
Thanks in advance.
Comment