The following code listings are all copy-and-paste friendly.
Chapter 7: Collections
Chapter 11: Other XML Technologies
Chapter 12: Disposal and Garbage Collection
Chapter 13: Code Contracts and Diagnostics
Chapter 14: Streams and I/O
Chapter 15: Networking
Chapter 16: Serialization
Chapter 17: Assemblies
Chapter 18: Reflection and Metadata
Chapter 19: Dynamic Programming
Chapter 20: Security
Chapter 21: Threading
Chapter 22: Parallel Programming
Chapter 23: Asynchronous Methods
Chapter 24: Application Domains
Chapter 25: Native Interop
Code from chapters 2-10, 19, 22 and 26 is available within LINQPad.
Chapter 1: Introducing C# and the .NET Framework
Chapter 2: C# Language Basics
Chapter 3: Creating Types in C#
Chapter 4: Advanced C#
Chapter 6: Framework Fundamentals
Chapter 8: LINQ Queries
Chapter 9: LINQ Operators
Chapter 10: LINQ to XML
Chapter 13: Streams and I/O
Chapter 14: Networking
Chapter 15: Serialization
Chapter 16: Assemblies
Chapter 17: Reflection and Metadata
Chapter 18: Security
Chapter 19: Threading
Chapter 20: Asynchronous Methods
Chapter 21: Application Domains
Chapter 22: Integrating with Native DLLs
Chapter 23: Diagnostics
Chapter 24: Regular Expressions
Download all as zip file
© 2007-2010, Joe Albahari, Ben Albahari and O'Reilly Media, Inc. All rights reserved