This code can't pass thecompiler symptom check.Code:class db<T> where T: struct{}
public static void Main(){
db<int> d=new db<int>();
displayDB<int>(d);
}
static void displayDB<T>(db<T> m){
System.Console.Writeln(m);
}
Thanks in advance
Bell
Printable View
This code can't pass thecompiler symptom check.Code:class db<T> where T: struct{}
public static void Main(){
db<int> d=new db<int>();
displayDB<int>(d);
}
static void displayDB<T>(db<T> m){
System.Console.Writeln(m);
}
Thanks in advance
Bell
Apposition or repetition is needed for a complete logic in expression.
static void displayDB<T>(db<T> m) where T: struct{