VB.NET Data Structures

Bloodstein

Senior member
Nov 8, 2002
343
0
0
Hi,

I'd like to know what type of data structures are built into VB.NET 2003. I'd like one that's able to handle a sufficiently large number of data and that's pretty fast. I tried looking into the msdn but it doesn't seem to have the info i need. Is there, perhaps, a link that has all the data structures and their efficiency?

Thanks
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
You should look in System.Collection, if I'm interpreting you correctly. Are you looking for an object in which you can put other objects or data? As for efficiency, it depends on what kind of access you need to the data afterwards.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
oog is correct, you'll need to look within the System.Collection namespace. Your traditional data structures are there: hashes, lists, stacks, etc.

I remember reading a benchmark a while back that compared the various data structures, but I don't remember the source.

It's also important to note that none of these data structures are "built into" VB.NET. All of these data structures are part of the .NET Framework BCL (base class library) and are thus accessible to VB.NET, as they are to C#, managed C++, Perl, ad nauseum. In fact, the only thing built into VB.NET are certain syntactical conveniences that are decomposed into direct calls to the framework.