Core C# and .NET
Table of Contents
Copyright
PRENTICE HALL CORE SERIES
About the Author
Foreword
Preface
Acknowledgments
Part I: Fundamentals of C# Programming and Introduction to .NET
Chapter 1. Introduction to .NET and C#
1.1. Overview of the .NET Framework
1.2. Common Language Runtime
1.3. Framework Class Library
1.4. Working with the .NET Framework and SDK
1.5. Understanding the C# Compiler
1.6. Summary
1.7. Test Your Understanding
Chapter 2. C# Language Fundamentals
2.1. The Layout of a C# Program
2.2. Primitives
2.3. Operators: Arithmetic, Logical, and Conditional
2.4. Loops
2.5. C# Preprocessing Directives
2.6. Strings
2.7. Enumerated Types
2.8. Arrays
2.9. Reference and Value Types
2.10. Summary
2.11. Test Your Understanding
Chapter 3. Class Design in C#
3.1. Introduction to a C# Class
3.2. Defining a Class
3.3. Overview of Class Members
3.4. Constants, Fields, and Properties
3.5. Methods
3.6. Constructors
3.7. Delegates and Events
3.8. Operator Overloading
3.9. Interfaces
3.10. Generics
3.11. Structures
3.12. Structure Versus Class
3.13. Summary
3.14. Test Your Understanding
Chapter 4. Working with Objects in C#
4.1. Object Creation
4.2. Exception Handling
4.3. Implementing System.Object Methods in a Custom Class
4.4. Working with .NET Collection Classes and Interfaces
4.5. Object Serialization
4.6. Object Life Cycle Management
4.7. Summary
4.8. Test Your Understanding
Part II: Creating Applications Using the .NET Framework Class Library
Chapter 5. C# Text Manipulation and File I/O
5.1. Characters and Unicode
5.2. The String Class
5.3. Comparing Strings
5.4. Searching, Modifying, and Encoding a String's Content
5.5. StringBuilder
5.6. Formatting Numeric and DateTime Values
5.7. Regular Expressions
5.8. System.IO: Classes to Read and Write Streams of Data
5.9. System.IO: Directories and Files
5.10. Summary
5.11. Test Your Understanding
Chapter 6. Building Windows Forms Applications
6.1. Programming a Windows Form
6.2. Windows.Forms Control Classes
6.3. The Form Class
6.4. Working with Menus
6.5. Adding Help to a Form
6.6. Forms Inheritance
6.7. Summary
6.8. Test Your Understanding
Chapter 7. Windows Forms Controls
7.1. A Survey of .NET Windows Forms Controls
7.2. Button Classes, Group Box, Panel, and Label
7.3. PictureBox and TextBox Controls
7.4. ListBox, CheckedListBox, and ComboBox Classes
7.5. The ListView and TreeView Classes
7.6. The ProgressBar, Timer, and StatusStrip Classes
7.7. Building Custom Controls
7.8. Using Drag and Drop with Controls
7.9. Using Resources
7.10. Summary
7.11. Test Your Understanding
Chapter 8. .NET Graphics Using GDI+
8.1. GDI+ Overview
8.2. Using the Graphics Object
8.3. Images
8.4. Summary
8.4. Test Your Understanding
Chapter 9. Fonts, Text, and Printing
9.1. Fonts
9.2. Drawing Text Strings
9.3. Printing
9.4. Summary
9.5. Test Your Understanding
Chapter 10. Working with XML in .NET
10.1. Working with XML
10.2. Techniques for Reading XML Data
10.3. Techniques for Writing XML Data
10.4. Using XPath to Search XML
10.5. Summary
10.6. Test Your Understanding
Chapter 11. ADO.NET
11.1. Overview of the ADO.NET Architecture
11.2. Data Access Models: Connected and Disconnected
11.3. ADO.NET Connected Model
11.4. DataSets, DataTables, and the Disconnected Model
11.5. XML and ADO.NET
11.6. Summary
11.7. Test Your Understanding
Chapter 12. Data Binding with Windows Forms Controls
12.1. Overview of Data Binding
12.2. Using Simple and Complex Data Binding in an Application
12.3. The DataGridView Class
12.4. Summary
12.4. Test Your Understanding
Part III: Advanced Use of C# and the .NET Framework
Chapter 13. Asynchronous Programming and Multithreading
13.1. What Is a Thread?
13.2. Asynchronous Programming
13.3. Working Directly with Threads
13.4. Thread Synchronization
13.5. Summary
13.5. Test Your Understanding
Chapter 14. Creating Distributed Applications with Remoting
14.1. Application Domains
14.2. Remoting
14.3. Leasing and Sponsorship
14.4. Summary
14.5. Test Your Understanding
Chapter 15. Code Refinement, Security, and Deployment
15.1. Following .NET Code Design Guidelines
15.2. Strongly Named Assemblies
15.3. Security
15.4. Application Deployment Considerations
15.5. Summary
15.6. Test Your Understanding
Part: Programming for the Internet
Chapter 16. ASP.NET Web Forms and Controls
16.1. Client-Server Interaction over the Internet
16.2. Web Forms Controls
16.3. Data Binding and Data Source Controls
16.4. Validation Controls
16.5. Master and Content Pages
16.6. Building and Using Custom Web Controls
16.7. Selecting a Web Control to Display Data
16.8. Summary
16.9. Test Your Understanding
Chapter 17. The Asp.Net Application Environment
17.1. HTTP Request and Response Classes
17.2. ASP.NET and Configuration Files
17.3. ASP.NET Application Security
17.4. Maintaining State
17.5. Caching
17.6. Creating a Web Client with WebRequest and WebResponse
17.7. HTTP Pipeline
17.8. Summary
17.9. Test Your Understanding
Chapter 18. XML Web Services
18.1. Introduction to Web Services
18.2. Building an XML Web Service
18.3. Building an XML Web Service Client
18.4. Understanding WSDL and SOAP
18.5. Using Web Services with Complex Data Types
18.6. Web Services Performance
18.7. Summary
18.8. Test Your Understanding
Appendix A. Features Specific to .NET 2.0 and C# 2.0
Appendix B. DataGridView Events and Delegates
Answers to Chapter Exercises
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
Index
index_SYMBOL
index_A
index_B
index_C
index_D
index_E
index_F
index_G
index_H
index_I
index_J
index_K
index_L
index_M
index_N
index_O
index_P
index_Q
index_R
index_S
index_T
index_U
index_V
index_W
index_X