Generics in VB.NET
In this article, I specifically talk about Generics in VB.NET and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Generics in VB.NET

EL WAHYUPosted Feb 20, 2010, 3:09 PM EST
HI MAY NAME EL. IT'S NICE TO READ YOUR ARTICLE. MY I KNOW HOW TO MANAGE GENERIC LIST IF THE TYPE IS IMAGE. FOR EXAMPLE I HAVE A CLASS FOR EMPLOYEE ENTITY, CONTAIN PROPERTY NAME AND PHOTO. THE PHOTO USES IMAGE AS THE DATA TYPE. MY QUESTION IS HOW TO LOAD/SHOW THE PHOTO THROUGH LIST. THANKS IN ADVANCE.
Joseph German OcenaPosted Jun 5, 2009, 12:48 AM EDT
How do you create a generic list if you only know the type of the object during runtime? Example: I have a collection class BusinessObjectCollection(O<wbr>f T as someInterface) ' VB syntax Now, at run time I can get a type for collection items (and this type inherits from proper interface): Dim businessClassType As Type = controller.GetBusinessClas<wbr>sType(clas<wbr>sNameStrin<wbr>g) However, when I'm trying to create a collection like: Dim col As New BusinessObjectCollection(O<wbr>f businessClassType) compiler tells me that businessClassType is not defined.
akshay yelnePosted Apr 7, 2009, 7:27 AM EDT
ss
Mahesh ChandTOP 10editedPosted Sep 19, 2008, 3:22 AM EDTEdited Sep 19, 2008, 3:23 AM EDT
test comment