Tải bản đầy đủ (.pdf) (52 trang)

250 chapter 10 tủ tài liệu training

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (45.79 MB, 52 trang )

Advanced C# Part 5

Speech Synthesizer

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Speak method exercise

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Starting and stopping a process

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Notepad Exercise


Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Multidimensional Arrays

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Multidimensional Arrays
One dimensional array

Multidimensional arrays


Multidimensional Arrays

Column 0

Column 1

Column 2

Row 0


some value [0,0]

some value [0,1]

some value[0,2]

Row 1

some value [1,0]

some value [1,1]

some value [1,2]

Row 2

some value [2,0]

some value [2,1]

some value [2,2]

Row 3

some value [3,0]

some value [3,1]

some value [3,2]



Advanced C# Part 5

Multidimensional arrays exercise

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Multidimensional arrays exercise


Advanced C# Part 5

Jagged arrays

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Jagged arrays


Advanced C# Part 5

Jagged array of multidimensional arrays exercise

Ahmad Mohey | Full Stack Developer

E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Indexers

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Dynamic keyword

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Var vs dynamic

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85



Var vs dynamics

Var
Need to be initialized at declaration.
Errors are caught at compile time.
Intellisense is available.
Type safe.
Cannot be passed as a parameter.

Dynamic
Does not need to be initialized at declaration.
Errors are caught at runtime.
Intellisense is not available.
Not type safe.
Can be passed as a parameter.


Advanced C# Part 5

Readonly

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Static directives


Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Preprocessor directives

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Preprocessor directives

The preprocessor directives give instructions to the compiler to
preprocess some information before actual compilation starts.


Advanced C# Part 5

IsNullOrEmpty

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85



Advanced C# Part 5

Destructors

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Using statement

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Advanced C# Part 5

Assemblies

Ahmad Mohey | Full Stack Developer
E-mail :
Twitter : ahmadmohey85


Assemblies

Assemblies are the building blocks of .NET Framework applications. An assembly is a collection of types

and resources that are built to work together and form a logical unit of functionality


×