C# Tutorials - Herong's Tutorial Examples - Version 3.2, by Dr. Herong Yang

Data Type Features

This chapter provides tutorial examples and notes on some data type features. Topics include 'decimal' simple type; simple types as aliases of 'struct' types; unified type system; jagged arrays.

The "decimal" Data Type

Simple Types Are "struct" Types

Type System Unification

Jagged Arrays


  • "decimal" is a simple type for floating-point values with a 128-bit storage size.
  • All simple typs are aliases of pre-defined "struct" types with properties and methods.
  • C# has a unified type system with all types derived from "object".
  • Jagged arrays contain arrays as elements.

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

 Memory Usages of Processes

 Multithreading in C#

 System.IO.FileInfo Class

 System.Diagnostics.FileVersionInfo Class


 PDF Printing Version

Data Type Features - Updated in 2012, by Dr. Herong Yang