15.02.2015 Views

C# 4 and .NET 4

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SonTenTs<br />

Event Publisher 200<br />

Event Listener 202<br />

Weak Events 203<br />

ummary 205<br />

ChaPTer 9: sTrings <strong>and</strong> regular eXPressions 207<br />

xamining system.string 208<br />

Building Strings 209<br />

StringBuilder Members 211<br />

Format Strings 212<br />

egular expressions 217<br />

Introduction to Regular Expressions 218<br />

The RegularExpressionsPlayaround Example 219<br />

Displaying Results 221<br />

Matches, Groups, <strong>and</strong> Captures 223<br />

ummary 224<br />

ChaPTer 10: ColleCTions 225<br />

Collection interfaces <strong>and</strong> Types 225<br />

ists 226<br />

Creating Lists 228<br />

Read-Only Collections 236<br />

Queue 236<br />

tack 240<br />

inked list 241<br />

orted list 246<br />

Dictionaries 248<br />

Key Type 248<br />

Dictionary Example 250<br />

Lookup 253<br />

Sorted Dictionary 254<br />

ets 255<br />

bservable Collection 256<br />

Bit arrays 258<br />

BitArray 258<br />

BitVector32 260<br />

Concurrent Collections 262<br />

Performance 264<br />

ummary 266<br />

XX<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!