Skip to main content
  • 358 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics