Summary
This (rather lengthy) chapter exposed you to the numerous core aspects of the C# programming language and the .NET platform. The focus was to examine the constructs that will be commonplace in any application you may be interested in building.
As you have seen, all intrinsic C# data types alias a corresponding type in the System namespace. Each system type has a number of members that provide a programmatic manner to obtain the range of the type. Furthermore, you learned the basic process of building C# class types and examined the various parameter-passing conventions, value types and reference types, and the role of the mighty System.Object.
You also examined various aspects of the CLR that place an OO spin on common programming constructs, such as arrays, strings, structures, and enumerations. In addition, this chapter illustrated the concept of boxing and unboxing. This simple mechanism allows you to easily move between value-based and reference-based data types. Finally, the chapter wrapped up by explaining the role of nullable data types and the construction of custom namespaces.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 Andrew Troelsen
About this chapter
Cite this chapter
(2005). C# Language Fundamentals. In: Pro C# 2005 and the .NET 2.0 Platform. Apress. https://doi.org/10.1007/978-1-4302-0060-4_3
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0060-4_3
Publisher Name: Apress
Print ISBN: 978-1-59059-419-3
Online ISBN: 978-1-4302-0060-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books