Tuesday, January 14, 2014

Outline
3.1       Introduction
3.2       Simple Program: Printing a Line of Text
3.3       Another Simple Program: Adding Integers
3.4       Memory Concepts
3.5       Arithmetic
3.6       Decision Making: Equality and Relational  Operators

3.1 Introduction

         This chapter introduces C# programming and presents examples that illustrate several important 

features of the language. Examples are analyzed one line at a time. In this chapter,

we create console applications—applications that contain only text output. There are sev-

eral types of projects that we can create in C#; the console application is one of the basic

types. Text output in a console application is displayed in a console window (also called a

console window). On Microsoft Windows 95/98, the console window is the MS-DOS

prompt. On Microsoft Windows NT/2000/XP, the console window is called the com-

mand prompt. With C#, a program can be created with multiple types of output (win-

dows, dialogs and so forth). These programs are called Windows applications and provide

graphical user interfaces. We showed an example of a Windows application in Chapter 2,

when we printed a message on a form. These types of applications will be discussed in

greater detail, beginning with Chapter 4, Control Structures: Part 1 and Chapter 5, Control

Structures: Part 2. In these chapters, we will also provide a detailed treatment of program

development and program control in C#.




        


0 comments:

Post a Comment

Subscribe to RSS Feed Follow me on Twitter!