Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Microsoft C# Professional Projects - Premier Press.pdf
Скачиваний:
177
Добавлен:
24.05.2014
Размер:
14.65 Mб
Скачать

C# BASICS

Chapter 2

39

 

 

 

Summary

In this chapter, you learned about the basics of C#. You learned that C# is an object-oriented language that is derived from C and C++. C# is designed to create high-level applications that work on the .NET environment. Next, you learned that variables are storage locations for values in C#. Variables can store characters, character strings, numeric values, or memory addresses. Then you learned that an array is a data structure that acts as a pointer to an address in a memory. An array stores a number of variables and has an index attached to it. C# provides a String class to work with strings. String is a class in C#. Therefore, it has several methods associated with it.

Finally, you learned about the data conversion statements in C#, along with other statements and expressions. The commonly used statements in C# are of the following types: simple, selection, iteration, and jump. Expressions in C# are a sequence of operators and operands that are used to perform operations.

This page intentionally left blank

PART IIHandling Data

This page intentionally left blank

Chapter 3

Components

of C#