Get Started. It's Free
or sign up with your email address
C# tutorial by Mind Map: C# tutorial

1. 1. Overview

1.1. Object oriented programming

1.2. Designed for Common Language Infrastructure (CLI)

1.3. It is a modern general-purpose programming language.

1.4. Easy to learn

1.5. Produces efficient programs

2. 3. Program structure

2.1. Namespace declaration

2.2. A class

2.3. Class attributes

2.4. A Main method

2.5. Statement and Expressions

2.6. Comments

2.7. Hello world

3. 2. Environment

3.1. Part of .Net environment

3.1.1. Can write different types of applications

3.1.1.1. Windows applications

3.1.1.2. Web applications

3.1.1.3. Web services

3.1.2. Consists of an enormous library of codes used by C#

4. 4. Basic syntax

4.1. using

4.2. class

4.3. Comments in C#

4.4. Keywords

5. 5. Data types

5.1. Sbyte

5.1.1. -128 to 127

5.2. Byte

5.2.1. 0 to 255

5.3. Short

5.3.1. -32 768 to 32 767

5.4. uint

5.4.1. 0 to 4 294 967 295

5.5. ulong

5.5.1. 0 to 18,446 × 10^18

5.6. ushort

5.6.1. 65 535

6. 6. Data conversion

6.1. Implicit type conversion

6.2. Explicit type conversion

7. 7. Variables

7.1. What is a variable

7.1.1. It is a storage with a given name

7.2. Defining variables

7.2.1. <data_type> <variable_name>

7.3. Initializing variables

7.3.1. <variable_name> = 'something'

7.4. lvalue and rvalue

7.4.1. lvalue can appear as left side and right side of an assignment

7.4.1.1. int g = 20

7.4.2. rvalue - only right side of an assignment

7.4.2.1. 10 = 20

7.4.2.1.1. Compilation error

7.5. Reading inputs from user

7.5.1. Input from keyboard

8. 9. Operators

8.1. Arithmetic operators

8.2. Relation operators

8.3. Logical operators

8.4. Bitwise operators