Error!
Success!

By tag: ArrayList

showing:  of
0
kicks

C# Working With ArrayList: What is the best Iterator choice?  (Unpublished)

When you first look at which statement to use to iterate through an ArrayList collection, the foreach statement stands out. It's syntax is concise and readable as well as no extra lines of code are needed to extract the element you want to work with. But...[pause for effect]...if the collection is...


Kicked By:
Drop Kicked By:
0
kicks

Returning an ArrayList of Custom Objects From a Web Service  (Unpublished)

Looking for some help in passing an ArrayList of custom objects back through a web service.


Kicked By:
Drop Kicked By:
0
kicks

C# ArrayList  (Unpublished)

The thirty-seventh part of the C# Fundamentals tutorial describes the use of the ArrayList class. This general-purpose collection class provides the ability to create and manipulate a group of related objects as if they were a variable-length array.


Kicked By:
Drop Kicked By:
0
kicks

Performance of foreach vs. List.ForEach  (Unpublished)

Today I was iterating a List<int> using a foreach-loop and feeling a bit smug in knowing how much more performance-conscious I was being than if I'd tried doing the same thing with an ArrayList filled with ints. Thanks to the wonder of generics, the C# compiler neatly avoids numerous boxing op...


Kicked By:
Drop Kicked By: