Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover Page
Programming C#, 4th Edition
SPECIAL OFFER: Upgrade this ebook with O’Reilly
A Note Regarding Supplemental Files
Preface
About This Book
What You Need To Use This Book
How the Book Is Organized
Part I, The C# Language
Part II, Programming with C#
Part III, The CLR and the .NET Framework
Who This Book Is For
C# 2.0 Versus C# 1.1
C# Versus Visual Basic .NET
C# Versus Java
C# Versus C and C++
Conventions Used in This Book
Support
We'd Like to Hear from You
Safari Enabled
Acknowledgments
I. The C# Language
1. C# and the .NET Framework
1.1. The .NET Platform
1.2. The .NET Framework
1.3. Compilation and the MSIL
1.4. The C# Language
2. Getting Started: "Hello World"
2.1. Classes, Objects, and Types
2.2. Developing "Hello World"
2.3. Using the Visual Studio .NET Debugger
3. C# Language Fundamentals
3.1. Types
3.2. Variables and Constants
3.3. Expressions
3.4. Whitespace
3.5. Statements
3.6. Operators
3.7. Preprocessor Directives
4. Classes and Objects
4.1. Defining Classes
4.2. Creating Objects
4.3. Using Static Members
4.4. Destroying Objects
4.5. Passing Parameters
4.6. Overloading Methods and Constructors
4.7. Encapsulating Data with Properties
4.8. readonly Fields
5. Inheritance and Polymorphism
5.1. Specialization and Generalization
5.2. Inheritance
5.3. Polymorphism
5.4. Abstract Classes
5.5. The Root of All Classes: Object
5.6. Boxing and Unboxing Types
5.7. Nesting Classes
6. Operator Overloading
6.1. Using the operator Keyword
6.2. Supporting Other .NET Languages
6.3. Creating Useful Operators
6.4. Logical Pairs
6.5. The Equality Operator
6.6. Conversion Operators
7. Structs
7.1. Defining Structs
7.2. Creating Structs
8. Interfaces
8.1. Defining and Implementing an Interface
8.2. Accessing Interface Methods
8.3. Overriding Interface Implementations
8.4. Explicit Interface Implementation
9. Arrays, Indexers, and Collections
9.1. Arrays
9.2. The foreach Statement
9.3. Indexers
9.4. Collection Interfaces
9.5. Constraints
9.6. List<T>
9.7. Queues
9.8. Stacks
9.9. Dictionaries
10. Strings and Regular Expressions
10.1. Strings
10.2. Regular Expressions
11. Handling Exceptions
11.1. Throwing and Catching Exceptions
11.2. Exception Objects
11.3. Custom Exceptions
11.4. Rethrowing Exceptions
12. Delegates and Events
12.1. Delegates
12.2. Multicasting
12.3. Events
12.4. Using Anonymous Methods
12.5. Retrieving Values from Multicast Delegates
II. Programming with C#
13. Building Windows Applications
13.1. Creating a Simple Windows Form
13.2. Creating a Windows Forms Application
13.3. XML Documentation Comments
14. Accessing Data with ADO.NET
14.1. Relational Databases and SQL
14.2. The ADO.NET Object Model
14.3. Getting Started with ADO.NET
14.4. Using OLE DB Managed Providers
14.5. Working with Data-Bound Controls
15. Programming ASP.NET Applications and Web Services
15.1. Understanding Web Forms
15.2. Creating a Web Form
15.3. Adding Controls
15.4. Data Binding
15.5. Web Services
15.6. SOAP, WSDL, and Discovery
15.7. Building a Web Service
15.8. Creating the Proxy
16. Putting It All Together
16.1. The Overall Design
16.2. Creating the Web Services Client
16.3. Displaying the Output
16.4. Searching by Category
III. The CLR and the .NET Framework
17. Assemblies and Versioning
17.1. PE Files
17.2. Metadata
17.3. Security Boundary
17.4. Manifests
17.5. Multimodule Assemblies
17.6. Private Assemblies
17.7. Shared Assemblies
18. Attributes and Reflection
18.1. Attributes
18.2. Reflection
19. Marshaling and Remoting
19.1. Application Domains
19.2. Context
19.3. Remoting
20. Threads and Synchronization
20.1. Threads
20.2. Synchronization
20.3. Race Conditions and Deadlocks
21. Streams
21.1. Files and Directories
21.2. Reading and Writing Data
21.3. Asynchronous I/O
21.4. Network I/O
21.5. Web Streams
21.6. Serialization
21.7. Isolated Storage
22. Programming .NET and COM
22.1. Importing ActiveX Controls
22.2. Importing COM Components
22.3. Exporting .NET Components
22.4. P/Invoke
22.5. Pointers
A. C# Keywords
Index
Colophon
SPECIAL OFFER: Upgrade this ebook with O’Reilly
← Prev
Back
Next →
← Prev
Back
Next →