Reintroducing C#:-A Detailed Look at the Language We All Know
This chapter will discuss the basics of the C# language. It begins with an example of a square number generator program to explain the basic structure of a C# program, how the C# compiles a C# program, and then explains Just-in-Time compilation. You will learn about the lexical element of the C# language, different types such as value and reference types,
variables, parameters, and statements, and about the
Square Number Using the C#
Listing 1-1 shows a simple program that calculates the square of a given number and displays the squared ...