Data Type and Variables

This chapter provides tutorial examples and notes on data type, variable and arithmetic operation. Topics include 5 basic data types: Boolean, Integer, Real, Character and String; using variables to store data; using arithmetic operations to manipulate integral and real data.

Data Literals

Data Literals - Example

Variables and Assignment Statements

Variables and Assignments - Example

Arithmetic Operations

Arithmetic Operations - Example

Conclusions:

Table of Contents

 About This Book

 Introduction of C# (C Sharp)

Data Type and Variables

 Logical Expressions and Conditional Statements

 Arrays and Loop Statements

 Data Type Features

 Floating-Point Data Types

 Passing Parameters to Methods

 Execution Environment Class

 Visual C# 2010 Express Edition

 Class Features

 C# Compiler and Intermediate Language

 Compiling C# Source Code Files

 MSBuild - Microsoft Build Engine

 Memory Usages of Processes

 Multithreading in C#

 Async Feature from C# 5

 System.IO.FileInfo Class

 System.Diagnostics.FileVersionInfo Class

 WPF - Windows Presentation Foundation

 Partial Classes and Partial Methods

 Outdated Tutorials

 References

 PDF Printing Version