[...]... MenuStrip ContextMenuStrip ToolStripMenuItem ToolStripManager ToolStripContainer Forms Form Class 10 10 10 11 1 013 10 15 10 17 10 18 10 23 10 23 10 23 10 24 10 24 10 25 10 26 10 26 10 26 10 28 10 28 10 29 10 31 10 31 1032 10 33 10 33 10 33 10 35 10 35 10 36 10 37 10 37 10 38 10 38 10 39 10 41 1042 10 42 10 42 10 42 10 43 10 43 xxxiii ftoc.indd xxxiii 2 /19 /08 8:30:34 PM ... Summary 10 1 10 2 10 2 10 3 10 4 10 4 10 6 10 6 10 7 10 7 11 2 11 2 11 3 11 4 11 5 11 8 12 0 xvii ftoc.indd xvii 2 /19 /08 8:30:29 PM Contents Chapter 5: Arrays 12 1 Simple Arrays 12 1 Array Declaration Array Initialization Accessing Array Elements Using Reference Types Multidimensional Arrays Jagged Arrays Array Class Properties Creating Arrays Copying Arrays Sorting Array and Collection Interfaces 12 1 12 2 12 3 12 3 12 5 12 6 12 7... Performance Type Safety 15 5 15 6 15 7 16 3 16 4 16 5 17 1 17 5 17 7 17 7 17 8 17 9 18 2 18 4 18 7 19 0 19 1 19 3 19 4 19 5 19 7 2 01 203 204 205 208 209 214 215 216 219 220 222 223 223 224 225 xix ftoc.indd xix 2 /19 /08 8:30:30 PM Contents Binary Code Reuse Code Bloat Naming Guidelines Creating Generic Classes Generic Classes’ Features 225 226 226 226 2 31 Default Values Constraints Inheritance Static Members 2 31 232 234 235 Generic... Safety Type Conversions Boxing and Unboxing Comparing Objects for Equality Comparing Reference Types for Equality Comparing Value Types for Equality 13 4 13 4 13 4 13 9 14 1 14 1 14 3 14 4 14 5 14 6 14 6 14 6 14 6 14 7 14 7 14 7 14 8 14 9 15 2 15 3 15 3 15 4 xviii ftoc.indd xviii 2 /19 /08 8:30:29 PM Contents Operator Overloading How Operators Work Operator Overloading Example: The Vector Struct Which Operators Can You Overload?... Using C# 4 4 4 4 5 7 7 8 8 14 15 15 16 16 17 17 18 19 Creating ASP NET Applications Creating Windows Forms Using the Windows Presentation Foundation (WPF) Windows Controls Windows Services Windows Communication Foundation (WCF) The Role of C# in the NET Enterprise Architecture Summary ftoc.indd xv 19 21 21 21 21 22 22 23 2 /19 /08 8:30:27 PM Contents Chapter 2: C# Basics Before We Start Your First C# Program... Reading XML Values Query of Data XML Data Modification Language (XML DML) 978 979 9 81 9 81 982 983 985 986 987 988 988 993 994 996 997 998 998 999 10 00 10 00 10 01 10 01 1002 10 03 10 03 10 03 10 05 10 08 10 10 xxxii ftoc.indd xxxii 2 /19 /08 8:30:34 PM Contents XML Indexes Strongly Typed XML Summary Part V: Presentation Chapter 31: Windows Forms Creating a Windows Form Application Class Hierarchy Control Class... Basic 2008 Ventures Down Another Path Namespaces and Prefixes 908 908 910 910 911 912 914 914 915 916 916 918 919 920 9 21 922 922 923 924 924 928 930 9 31 933 937 937 942 948 948 954 956 963 965 967 968 968 968 968 xxxi ftoc.indd xxxi 2 /19 /08 8:30:34 PM Contents New XML Objects from the NET Framework 3.5 XDocument XElement XNamespace XComment XAttribute Using LINQ to Query XML Documents 969 969 969 9 71. .. Pointer Example: PointerPlayaround Using Pointers to Optimize Performance Summary 297 297 298 304 306 307 307 309 311 312 312 313 314 315 316 317 318 319 3 21 322 323 324 327 328 329 329 330 3 31 333 334 335 336 337 339 339 347 352 355 xxi ftoc.indd xxi 2 /19 /08 8:30:30 PM Contents Chapter 13 : Reflection Custom Attributes Writing Custom Attributes Custom Attribute Example: WhatsNewAttributes Reflection... Files Publisher Policy Files Runtime Version Summary Chapter 18 : Tracing and Events Tracing Trace Sources Trace Switches Trace Listeners Filters Asserts Event Logging Event-Logging Architecture Event-Logging Classes Creating an Event Source 496 497 499 499 500 500 504 506 507 509 509 511 512 512 515 516 517 518 519 5 21 xxiv ftoc.indd xxiv 2 /19 /08 8:30:32 PM Contents Writing Event Logs Resource Files... Chapter 15 : Visual Studio 2008 Working with Visual Studio 2008 Creating a Project Solutions and Projects Windows Application Code Reading in Visual Studio 6 Projects Exploring and Coding a Project Building a Project Debugging Refactoring Multi-Targeting WPF, WCF, WF, and More 357 358 358 362 365 365 367 370 3 71 376 377 378 379 382 385 386 386 387 389 390 3 91 394 397 399 4 01 4 01 406 412 415 416 416 427 . 11 2 Visibility Modifiers 11 2 Other Modifiers 11 3 Interfaces 11 4 Defining and Implementing Interfaces 11 5 Derived Interfaces 11 8 Summary 12 0 ftoc.indd xviiftoc.indd xvii 2 /19 /08 8:30:29 PM2 /19 /08 8:30:29. Windows Server 2008 17 11 Index 17 31 ffirs.indd iiffirs.indd ii 2 /19 /08 5:35:27 PM2 /19 /08 5:35:27 PM Professional C# 2008 ffirs.indd iiiffirs.indd iii 2 /19 /08 5:35:27 PM2 /19 /08 5:35:27 PM ffirs.indd. 31: Windows Forms 10 17 Chapter 32: Data Binding 10 61 Chapter 33: Graphics with GDI+ 10 93 Chapter 34: Windows Presentation Foundation 11 49 Chapter 35: Advanced WPF 11 99 Chapter 36: Add-Ins 12 51 Chapter