Skip to Content
Microsoft® Visual C#® .NET 2003 Kick Start
book

Microsoft® Visual C#® .NET 2003 Kick Start

by Steven Holzner
June 2003
Intermediate to advanced
624 pages
12h 41m
English
Sams
Content preview from Microsoft® Visual C#® .NET 2003 Kick Start

Using Collections

This chapter is about the rich support in C# for handling collections such as arrays, bit arrays, queues, stacks, hash tables, and others. Collections are groupings of objects that support properties such as Count to hold the number of objects in the collection, and methods such as Add to add a new object to the collection. You can access members of the collection with various methods, such as using [] with arrays, Push and Pop methods with stacks, and so on.

As you become experienced in C#, you'll find yourself using collections more and more frequently as your code scales to larger applications. We've already worked with arrays throughout the book—now we'll see what they're capable of as we take a more in-depth look. After ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® .NET Kick Start

Microsoft® .NET Kick Start

Hitesh Seth

Publisher Resources

ISBN: 0672325470Purchase book