03.01.2015 Views

C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

Visual Studio 2013 C# 5.0 Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CONTENTS<br />

Hiding and Overriding Events 296<br />

Raising Parent Class Events 296<br />

Implementing Custom Events 297<br />

Static Methods 298<br />

Summary 300<br />

Exercises 301<br />

Chapter 13: Namespaces 303<br />

Collisions in .NET 304<br />

The using Directive 304<br />

Project Templates 307<br />

Item Templates 309<br />

The Default Namespace 311<br />

Making Namespaces 311<br />

Resolving Namespaces 313<br />

The global Namespace 314<br />

Summary 315<br />

Exercises 315<br />

Chapter 14: Collection Classes 317<br />

Arrays 318<br />

Dimensions 318<br />

Lower Bounds 318<br />

Resizing 319<br />

Speed 320<br />

Other Array Class Features 320<br />

System.Collections 321<br />

ArrayList 321<br />

StringCollection 324<br />

NameValueCollection 325<br />

Dictionaries 326<br />

ListDictionary 327<br />

Hashtable 328<br />

HybridDictionary 329<br />

StringDictionary 329<br />

SortedList 329<br />

CollectionsUtil 331<br />

Stacks and Queues 331<br />

Stack 331<br />

Queue 333<br />

xxi<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!