Click here to Skip to main content
16,022,660 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
public class d
{
 arrylist mylist= newarry list();
 public mylist  defin()
  {

  } 
}


It is true high definition.:thumbsup:

How can use class of list type in my program .
Posted
Updated 25-Jul-10 20:52pm
v2

1 solution

It is not clear what you want to do with your ArrayList.

If you are looking for an example on how to use ArrayList collection check out this[^] useful tutorial.
Also you talk about "use class of list type", so I suggest you to have a look at List<T>[^] tutorial too.

If the project you are working on is compatible then it is better to use generic list (List<T>). You can see why at the end of ArrayList tutorial ("Should I use List<T> instead?" section). :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900