Wednesday, December 2, 2009

Create new instance of generic instance

T myObject = new T();

Set default value to generic object:

T myObject = default(T);


- Posted using BlogPress from my iPhone

No comments:

Post a Comment