List of Listings
Chapter 1. The changing face of C# development
Listing 1.1. The Product type (C# 1)
Listing 1.2. Strongly typed collections and private setters (C# 2)
Listing 1.3. Automatically implemented properties and simpler initialization (C# 3)
Listing 1.4. Named arguments for clear initialization code (C# 4)
Listing 1.5. Sorting an ArrayList using IComparer (C# 1)
Listing 1.6. Sorting a List<Product> using IComparer<Product> (C# 2)
Listing 1.7. Sorting a List<Product> using Comparison<Product> (C# 2)
Listing 1.8. Sorting using Comparison<Product> from a lambda expression (C# 3)
Listing 1.9. Ordering a List<Product> using an extension method (C# 3)
Get C# in Depth, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.