A Programmer's Introduction to C#

Front Cover
Apress, Jun 20, 2001 - Computers - 540 pages
WHEN YOU CREATE a new programming language, the first question you're asked invariably is, why? In creating C# we had several goals in mind: • To produce the first component-oriented language in the OC++ family. Soft ware engineering is less and less about building monolithic applications and more and more about building components that slot into various exe cution environments; for example, a control in a browser or a business object that executes in ASP+. Key to such components is that they have properties, methods, and events, and that they have attributes that provide declarative information about the component. All of these concepts are first -class language constructs inC#, making it a very natural language in which to construct and use components. • To create a language in which everything really is an object. Through innova tive use of concepts such as boxing and unboxing, C# bridges the gap between primitive types and classes, allowing any piece of data to be treated as an object. Furthermore, C# introduces the concept of value types, which allows users to implement lightweight objects that do not require heap allocation. • To enable construction of robust and durable software. C# was built from the ground up to include garbage collection, structured exception handling, and type safety. These concepts completely eliminate entire categories of C++ programs.

From inside the book

What people are saying - Write a review

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

Contents

ObjectOriented Basics I
1
The NET Runtime Environment
7
language Interop
13
Copyright

69 other sections not shown

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