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
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: Printing DB<type>
|
Click Here to Expand Forum to Full Width |