Pro C# 2010 and the .NET 4 PlatformWe’re a Team, You and I Technology authors write for a demanding group of people (I should know—I’m one of them). You know that building software solutions using any platform (e. g. , . NET, Java, and COM) is extremely complicated and is highly specific to your department, company, client base, and subject matter. Perhaps you work in the electronic publishing industry, develop systems for the state or local government, or work at NASA or a branch of the military. Speaking for myself, I have developed children’s educational software (Oregon Trail / Amazon Trail anyone?), various n-tier systems, and projects within the medical and financial industries. The chances are almost 100 percent that the code you write at your place of employment has little to do with the code I write at mine (unless we happened to work together previously!). Therefore, in this book, I have deliberately chosen to avoid creating examples that tie the example code to a specific industry or vein of programming. Given this, I explain C#, OOP, the CLR, and the . NET 4. 0 base class libraries using industry-agnostic examples. Rather than having every blessed example fill a grid with data, calculate payroll, or whatnot, I’ll stick to subject matter everyone can relate to: automobiles (with some geometric structures and employee payroll systems thrown in for good measure). And that’s where you come in. My job is to explain the C# programming language and the core aspects of the . |
Contents
PART 1 Introducing C and the NET Platform
| 2 |
CHAPTER 1 The Philosophy of NET
| 3 |
CHAPTER 2 Building C Applications
| 41 |
PART 2 Core C Programming Constructs
| 70 |
CHAPTER 3 Core C Programming Constructs Part I
| 73 |
CHAPTER 4 Core C Programming Constructs Part II
| 125 |
CHAPTER 5 Defining Encapsulated Class Types
| 167 |
CHAPTER 6 Understanding Inheritance and Polymorphism
| 219 |
CHAPTER 19 Multithreaded and Parallel Programming
| 727 |
CHAPTER 20 File IO and Object Serialization
| 775 |
The Connected Layer
| 825 |
The Disconnected Layer
| 885 |
The Entity Framework
| 951 |
CHAPTER 24 Introducing LINQ to XML
| 993 |
CHAPTER 25 Introducing Windows Communication Foundation
| 1013 |
CHAPTER 26 Introducing Windows Workflow Foundation 40
| 1077 |
CHAPTER 7 Understanding Structured Exception Handling
| 259 |
CHAPTER 8 Understanding Object Lifetime
| 289 |
PART 3 Advanced C Programming Constructs
| 320 |
CHAPTER 9 Working with Interfaces
| 321 |
CHAPTER 10 Understanding Generics
| 361 |
CHAPTER 11 Delegates Events and Lambdas
| 397 |
CHAPTER 12 Advanced C Language Features
| 439 |
CHAPTER 13 LINQ to Objects
| 489 |
PART 4 Programming with NET Assemblies
| 523 |
CHAPTER 14 Configuring NET Assemblies
| 525 |
CHAPTER 15 Type Reflection Late Binding and AttributeBased Programming
| 581 |
CHAPTER 16 Processes AppDomains and Object Contexts
| 625 |
CHAPTER 17 Understanding CIL and the Role of Dynamic Assemblies
| 653 |
CHAPTER 18 Dynamic Types and the Dynamic Language Runtime
| 701 |
PART 5 Introducing the NET Base Class Libraries
| 726 |
PART 6 Building Desktop User Interfaces with WPF
| 1116 |
CHAPTER 27 Introducing Windows Presentation Foundation and XAML
| 1117 |
CHAPTER 28 Programming with WPF Controls
| 1179 |
CHAPTER 29 WPF Graphics Rendering Services
| 1245 |
CHAPTER 30 WPF Resources Animations and Styles
| 1285 |
CHAPTER 31 WPF Control Templates and User Controls | 1325 |
PART 7 Building Web Applications with ASP NET
| 1378 |
CHAPTER 32 Building ASPNET Web Pages
| 1379 |
CHAPTER 33 ASPNET Web Controls Master Pages and Themes
| 1429 |
CHAPTER 34 ASPNET State Management Techniques
| 1473 |
APPENDIX A Programming with Windows Forms
| 1511 |
APPENDIX B PlatformIndependent NET Development with Mono
| 1561 |
1583 | |
Other editions - View all
Common terms and phrases
ADO.NET allows anonymous types AppDomain args array assembly assume attribute AutoLot base class libraries binary bool build caller CarLibrary.dll Chapter CIL code class Program class type configuration Console Application named Console.ReadLine Console.WriteLine contains create CurrentSpeed custom data adapter data provider data type database DataSet DataTable define delegate type dynamic entity error examine example executing extension methods Figure foreach Framework 4.0 SDK functionality garbage collection given implementation IntelliSense interface invoke keyword language LINQ query load member variable metadata method named namespace NET assembly NET Framework NET metadata null object opcodes operator option output overloaded PetName public class public int public static public string public void runtime Serializable SharpDevelop Source Code specify static void Main(string strongly typed subdirectory syntax System.Object thread type parameter update Visual Studio 2010 Windows Forms