PC Review


Reply
Thread Tools Rate Thread

ArrayList's Array?

 
 
Jia Lu
Guest
Posts: n/a
 
      15th Apr 2009
Hi all

I have "n" ip ranges, and I want to save to an arraylist of every ip
range.
But I donot know how many ip ranges there are.
How can I deal with the "n" which is indeterminate.(Maybe an
ArrayList's array?)



Thankx
 
Reply With Quote
 
 
 
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      15th Apr 2009
Lu,

I think that a generic list of strings will fits the best in your case.

http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx

An arraylist is about objects.

Cor



"Jia Lu" <(E-Mail Removed)> wrote in message
news:dc1b72d5-8fa8-4745-a125-(E-Mail Removed)...
> Hi all
>
> I have "n" ip ranges, and I want to save to an arraylist of every ip
> range.
> But I donot know how many ip ranges there are.
> How can I deal with the "n" which is indeterminate.(Maybe an
> ArrayList's array?)
>
>
>
> Thankx


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array not ArrayList John Sutor Microsoft C# .NET 1 6th Apr 2005 12:59 PM
arraylist to array =?Utf-8?B?Q2hyaXN0aW5l?= Microsoft C# .NET 8 8th Oct 2004 01:59 PM
array in a arraylist Ricardo Microsoft C# .NET 4 5th May 2004 03:41 AM
Array of ArrayList =?Utf-8?B?cHRyZXZlcw==?= Microsoft VB .NET 2 15th Mar 2004 07:57 AM
Array to ArrayList Jerry S Microsoft C# .NET 4 1st Nov 2003 03:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:56 AM.