🗊 Презентация Common Type System. Value and reference types in C#

Нажмите для полного просмотра!
Common Type System. Value and reference types in C#, слайд №1 Common Type System. Value and reference types in C#, слайд №2 Common Type System. Value and reference types in C#, слайд №3 Common Type System. Value and reference types in C#, слайд №4 Common Type System. Value and reference types in C#, слайд №5 Common Type System. Value and reference types in C#, слайд №6 Common Type System. Value and reference types in C#, слайд №7 Common Type System. Value and reference types in C#, слайд №8 Common Type System. Value and reference types in C#, слайд №9 Common Type System. Value and reference types in C#, слайд №10 Common Type System. Value and reference types in C#, слайд №11 Common Type System. Value and reference types in C#, слайд №12 Common Type System. Value and reference types in C#, слайд №13 Common Type System. Value and reference types in C#, слайд №14 Common Type System. Value and reference types in C#, слайд №15 Common Type System. Value and reference types in C#, слайд №16 Common Type System. Value and reference types in C#, слайд №17 Common Type System. Value and reference types in C#, слайд №18 Common Type System. Value and reference types in C#, слайд №19

Вы можете ознакомиться и скачать презентацию на тему Common Type System. Value and reference types in C#. Доклад-сообщение содержит 19 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1


Common Type System. Value and reference types in C#.
Описание слайда:
Common Type System. Value and reference types in C#.

Слайд 2


AGENDA Common Type System Data Type Class Hierarchy class Object Intrinsic Data Types Variable Declaration and Initialization Implicitly Typed Local...
Описание слайда:
AGENDA Common Type System Data Type Class Hierarchy class Object Intrinsic Data Types Variable Declaration and Initialization Implicitly Typed Local Variables C# Nullable Types. ?? Operator Value and Reference Types Shallow and deep copy

Слайд 3


Common Type System CTS – common type sestem: defines how types are declared, used, and managed in the common language runtime, is an important part...
Описание слайда:
Common Type System CTS – common type sestem: defines how types are declared, used, and managed in the common language runtime, is an important part of the runtime's support for cross-language integration. CTS performs the following functions: Establishes a framework that helps enable cross-language integration, type safety, and high-performance code execution. Provides an object-oriented model that supports the complete implementation of many programming languages. Defines rules that languages must follow, which helps ensure that objects written in different languages can interact with each other. Provides a library that contains the primitive data types ( Boolean, Byte, Char, Int32, and UInt64)

Слайд 4


The Data Type Class Hierarchy
Описание слайда:
The Data Type Class Hierarchy

Слайд 5


Base class Object
Описание слайда:
Base class Object

Слайд 6


Intrinsic Data Types
Описание слайда:
Intrinsic Data Types

Слайд 7


Variable Declaration and Initialization It is a compiler error to make use of a local variable before assigning an initial value. All intrinsic data...
Описание слайда:
Variable Declaration and Initialization It is a compiler error to make use of a local variable before assigning an initial value. All intrinsic data types support a default constructor. We can create a variable using the new keyword, which automatically sets the variable to its default value: • bool variables are set to false. • Numeric data is set to 0 (or 0.0 in the case of floating-point data types). • char variables are set to a single empty character. • BigInteger variables are set to 0. (from System.Numerics.dll) • DateTime variables are set to 1/1/0001 12:00:00 AM. • Object references (including strings) are set to null.

Слайд 8


Variable Declaration and Initialization It is more cumbersome to use the new keyword when creating a basic data type variable:
Описание слайда:
Variable Declaration and Initialization It is more cumbersome to use the new keyword when creating a basic data type variable:

Слайд 9


Implicitly Typed Local Variables
Описание слайда:
Implicitly Typed Local Variables

Слайд 10


C# Nullable Types
Описание слайда:
C# Nullable Types

Слайд 11


C# Nullable Types and operator ??
Описание слайда:
C# Nullable Types and operator ??

Слайд 12


Value and Reference Types
Описание слайда:
Value and Reference Types

Слайд 13


Value and Reference Types
Описание слайда:
Value and Reference Types

Слайд 14


Value and References Types, Assignment Operator
Описание слайда:
Value and References Types, Assignment Operator

Слайд 15


Parameter Modifiers
Описание слайда:
Parameter Modifiers

Слайд 16


Passing Reference Types by Value and by Reference
Описание слайда:
Passing Reference Types by Value and by Reference

Слайд 17


Shallow and deep copy If you have a class or structure that contains only value types, implement your Clone() method using MemberwiseClone(): If you...
Описание слайда:
Shallow and deep copy If you have a class or structure that contains only value types, implement your Clone() method using MemberwiseClone(): If you have a custom type that maintains other reference types, you might want to create a new object that takes into account each reference type member variable, in order to get a “deep copy.”

Слайд 18


References MSDN:Common Type System Built-in Data Types Value and Reference Types Object class
Описание слайда:
References MSDN:Common Type System Built-in Data Types Value and Reference Types Object class

Слайд 19


Questions ?
Описание слайда:
Questions ?



Похожие презентации
Mypresentation.ru
Загрузить презентацию