Get Started. It's Free
or sign up with your email address
Rocket clouds
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. 5. Data types

3.1. Sbyte

3.1.1. -128 to 127

3.2. Byte

3.2.1. 0 to 255

3.3. Short

3.3.1. -32 768 to 32 767

3.4. uint

3.4.1. 0 to 4 294 967 295

3.5. ulong

3.5.1. 0 to 18,446 × 10^18

3.6. ushort

3.6.1. 65 535

4. 6. Data conversion

4.1. Implicit type conversion

4.2. Explicit type conversion

5. 7. Variables

5.1. What is a variable

5.1.1. It is a storage with a given name

5.2. Defining variables

5.2.1. <data_type> <variable_name>

5.3. Initializing variables

5.3.1. <variable_name> = 'something'

5.4. lvalue and rvalue

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

5.4.1.1. int g = 20

5.4.2. rvalue - only right side of an assignment

5.4.2.1. 10 = 20

5.4.2.1.1. Compilation error

5.5. Reading inputs from user

5.5.1. Input from keyboard

6. 9. Operators

6.1. Arithmetic operators

6.2. Relation operators

6.3. Logical operators

6.4. Bitwise operators

7. 2. Environment

7.1. Part of .Net environment

7.1.1. Can write different types of applications

7.1.1.1. Windows applications

7.1.1.2. Web applications

7.1.1.3. Web services

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

8. 4. Basic syntax

8.1. using

8.2. class

8.3. Comments in C#

8.4. Keywords