views:

37

answers:

2

hello,

can i use my own class in asp.net for Array list?

kind of:

Dim list1 As myobj= New ArrayList
+1  A: 

Use a generic List instead.

Dim list1 as List(Of myobj) = New List(Of myobj)
Jan Jongboom
A: 

You want to use the .NET 2.0 feature Generics. Here is a couple of examples on how to use it with VB.NET

Filip Ekberg