0

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

kind of:

Dim list1 As myobj= New ArrayList

2 Answers 2

1

Use a generic List instead.

Dim list1 as List(Of myobj) = New List(Of myobj)
Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.