| |
| | ONDotnet.com -- C# in a Nutshell: Introducing C# and the .NET Framework, Part 1 |
 | | C# also discards the C++ and COM approach of spreading source artifacts across header files, implementation files, and type libraries in favor of a much simpler source organization and component reuse model. |
 | | C# supports common C, C++, and Java language constructs such as classes, structs, interfaces, and enums, as well as more novel constructs such as delegates, which provide a type-safe equivalent to C/C++ function pointers, and custom attributes, which allow annotation of code elements with additional information. |
 | | C# balances these two conflicting viewpoints by presenting a unified type system in which all types (including primitive types) are derived from a common base type, while simultaneously allowing for performance optimizations that allow primitive types and simple user-defined types to be treated as raw memory, with minimal overhead and increased efficiency. |
| www.ondotnet.com /pub/a/dotnet/excerpt/csharpnut_1/index1.html (1879 words) |
|