Core C# and .NET
< Day Day Up > |
Chapter 2. C# Language Fundamentals
Topics in This Chapter
In September 2000, an ECMA[1] (international standardization group for information and communication systems) task group was established to define a Microsoft proposed standard for the C# programming language. Its stated design goal was to produce "a simple, modern, general-purpose, object-oriented programming language." The result, defined in a standard known as ECMA-334, is a satisfyingly clean language with a syntax that resembles Java, and clearly borrows from C++ and C. It's a language designed to promote software robustness with array bounds checking, strong type checking, and the prohibition of uninitialized variables. [1] ECMA International was formerly known as European Computer Manufacturers Association and is referred to herein simply as ECMA. This chapter introduces you to the fundamentals of the language: It illustrates the basic parts of a C# program; compares value and reference types; and describes the syntax for operators and statements used for looping and controlling program flow. As an experienced programmer, this should be familiar terrain through which you can move quickly. However, the section on value and reference types may demand a bit more attention. Understanding the differences in how .NET handles value and reference types can influence program design choices. |
< Day Day Up > |