■
IntroduCtIon
lviii
Chapter
1
: The Philosophy of .NET
This first chapter functions as the backbone for the remainder of the text. The primary goal of this chapter
is to acquaint you with a number of .NET-centric building blocks, such as the Common Language Runtime,
Common Type System, Common Language Specification, and base class libraries. Here, you will take an
initial look at the C# programming language and the .NET assembly format. We wrap up by examining the
platform-independent nature of the .NET platform.
Chapter
2
: Building C# Applications
The goal of this chapter is to introduce you to the process of compiling C# source code files. Here, you will
learn about the completely free (and fully functional) Visual Studio Community edition upon which this
book is based as well as learn about the Professional and Enterprise editions of Visual Studio 2017. You
will also learn how to configure your development machine using the new workload-based Visual Studio
installation process, enabling C# 7.1 features in your projects, as well as installing the all-important .NET 4.7
and .NET Core 2.0 frameworks.
Part II: Core C# Programming
The topics presented in this part of the book are quite important because you will use them regardless of
which type of .NET software you intend to develop (e.g., web applications, desktop GUI applications, code
libraries, or Windows services). Here, you will learn about the fundamental data types of .NET, work with
text manipulation, and learn the role of various C# parameter modifiers (including optional and named
arguments).
Chapter
3
: Core C# Programming Constructs, Part I
This chapter begins your formal investigation of the C# programming language. Here, you will learn about
the role of the
Main()
method and numerous details regarding the intrinsic data types of the .NET platform
and variable declaration, and you will work with and manipulate textual data using
System.String
and
System.Text.StringBuilder
. You will also examine iteration and decision constructs, narrowing and
widening operations, and the
unchecked
keyword.
Chapter
4
: Core C# Programming Constructs, Part II
This chapter completes your examination of the core aspects of C#, beginning with creating and
manipulating arrays of data. Next you examine how to construct overloaded type methods and define
parameters using the
out
,
ref
, and
params
keywords. You will also learn about the enum type, structures,
and nullable data types, and you will understand the distinction between value types and reference types.
Finally, you will learn about tuples, a new feature in C# 7.
Do'stlaringiz bilan baham: