A Programmer's Introduction to C#

Front Cover
Apress, Jun 20, 2001 - Computers - 540 pages

This comprehensive reference to the C# language is designed to help you get up to speed on C#. Author Eric Gunnerson, a developer on Microsoft's C# design team, has logged many hours writing and testing C# code. Thus, he is uniquely poised to effectively coach you on using the language. And you will come to understand how C# fits into Microsoft's .NET Framework.

Gunnerson provides the ideal foundation for you to springboard into a C# knowledge base. Core topics include C# basic statements and flow of execution, classes, interfaces, expressions, arrays, enums, interoperability, exception handling, and delegates and events. The final section of the book will enlighten you on the history of C# and compare it to other widely-used programming languages. New features to this second edition include graphical user interface application development using Windows Forms, and advanced topics like threading and execution-time code generation.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1ObjectOriented Basics
1
Chapter 2The NET Runtime Environment
7
Chapter 3C QuickStart and Developing in C
15
Chapter 4Exception Handling
27
Chapter 5Classes 101
39
Chapter 6Base Classes and Inheritance
47
Chapter 7Member Accessibility and Overloading
61
Chapter 8Other Class Details
71
Chapter 22Delegates
221
Chapter 23Events
231
Chapter 24UserDefined Conversions
243
Chapter 25Operator Overloading
265
Chapter 26Other Language Details
273
Chapter 27Making Friends with the NET Frameworks
285
Chapter 28SystemArray and the Collection Classes
297
Chapter 29Threading and Asynchronous Operations
317

Chapter 9Structs Value Types
89
Chapter 10Interfaces
95
Chapter 11Versioning
109
Chapter 12Statements and Flow of Execution
113
Chapter 13Variable Scoping and Definite Assignment
123
Chapter 14Operators and Expressions
129
Chapter 15Conversions
143
Chapter 16Arrays
155
Chapter 17Strings
163
Chapter 18Properties
175
Chapter 19Indexers and Enumerators
185
Chapter 20Enumerations
201
Chapter 21Attributes
209
Chapter 30ExecutionTime Code Generation
345
Chapter 31Interop
369
Chapter 32NET Frameworks Overview
379
Chapter 33Windows Forms
409
More Sophistication
425
Making It Useful
441
Chapter 36Deeper into C
455
Chapter 37Defensive Programming
481
Chapter 38The Command Line Compiler
493
Chapter 39C Compared to Other Languages
497
Chapter 40C Resources and Futures
517
Index
521
Copyright

Other editions - View all

Common terms and phrases

About the author (2001)

Eric Gunnerson is a software developer working at Microsoft. He is a past C# Test Lead, C# Program Manager, and member of the C# Language Design Team. He’s been a developer for longer than he cares to admit, and has worked on everything from microcontrollers to minicomputers. In his spare time, he enjoys writing about himself in the third person.

Bibliographic information