Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
C# and the NET Platform, Second Edition - Andrew Troelsen.pdf
Скачиваний:
67
Добавлен:
24.05.2014
Размер:
22.43 Mб
Скачать

Summary C# and the .NET Platform, Second Edition

by Andrew Troelsen ISBN:1590590554

This chapter examined two OOP-centric topics. First, you were shown how the .NET runtime makes use of

Apress © 2003 (1200 pages)

structured exception handling to contend with runtime problems. Using a small set of keywords ("try",

This comprehensive text starts with a brief overview of the

"catch", "throw", "finally"),C# languageC# programmersand then quicklyaremovesable to raisekey technicaland handleand system-level and application- level exceptions. architectural issues for .NET developers.

Next, you were exposed to various aspects of object lifetime. Given that the CLR makes use of runtime

Tablegarbageof Contentscollections, the basic rule of thumb is to assume that the runtime will destroy an object when it is C#"noandlongerthe .NETneededPlatform,." However,SecondifEditionyour C# types make use of unmanaged resources that need to be freed

in a timely and predictable manner, you are free to override the virtual System.Object.Finalize() method

Introduction

and/or implement the IDisposable interface. Finally, you were exposed to the role of the System.GC type

Part One - Introducing C# and the .NET Platform

and checked out a subset of its functionality.

Chapter 1 - The Philosophy of .NET

Chapter 2 - Building C# Applications

Part Two - The C# Programming Language

Chapter 3 - C# Language Fundamentals

Chapter 4 - Object-Oriented Programming with C#

Chapter 5 - Exceptions and Object Lifetime

Chapter 6 - Interfaces and Collections

Chapter 7 - Callback Interfaces, Delegates, and Events

Chapter 8 - Advanced C# Type Construction Techniques

Part Three - Programming with .NET Assemblies

Chapter 9 - Understanding .NET Assemblies

Chapter 10 - Processes, AppDomains, Contexts, and Threads

Chapter 11 - Type Reflection, Late Binding, and Attribute-Based Programming

Part Four - Leveraging the .NET Libraries

Chapter 12 - Object Serialization and the .NET Remoting Layer

Chapter 13 - Building a Better Window (Introducing Windows Forms)

Chapter 14 - A Better Painting Framework (GDI+)

Chapter 15 - Programming with Windows Forms Controls

Chapter 16 - The System.IO Namespace

Chapter 17 - Data Access with ADO.NET

Part Five - Web Applications and XML Web Services

Chapter 18 - ASP.NET Web Pages and Web Controls

Chapter 19 - ASP.NET Web Applications

Chapter 20 - XML Web Services

Index

List of Figures

List of Tables

Соседние файлы в предмете Программирование