Category Results  

Enum | Enumeration

Enum is a data type that holds a group of constants. Enum is value type variable. So when you pass a enum to a variable or a method, system creates of a copy for that variable, this means when you change copied variable, it won’t affect the main variable. Or changing main variable won’t affect […]

Read More
Value TypeUser-defined TypeData Types

Struct | Structure

Structure is a data type that can hold properties and functionalities. Structure is value type variable. So when you pass a struct to a variable or a method, system creates of a copy for that variable, this means when you change copied variable, it won’t affect the main variable. Or changing main variable won’t affect […]

Read More
Value TypeUser-defined TypeData Types

Double

Double is a data type in c# which is to carry numbers in the range -179,769,313,486,232 × 10294 to 179,769,313,486,232 × 10294 . Double can have 15-digit precisions and it is value type variable. So when you pass an short to a variable or a method, system creates of a copy for that variable, this means […]

Read More
Value TypePredefined TypeData Types

Float

Float is a data type in c# which is to carry numbers in the range -3402823 * 10³² to 3402823 * 10³². Float can have 7-digit precisions and it is value type variable. So when you pass an float to a variable or a method, system creates of a copy for that variable, this means […]

Read More
Value TypePredefined TypeData Types

Decimal

Decimal is a data type in c# which is to carry numbers in the range -79,228,162,514,264,337,593,543,950,335 to 79,228,162,514,264,337,593,543,950,335. Decimal can have 28-digit precisions and it is value type variable. So when you pass an short to a variable or a method, system creates of a copy for that variable, this means when you change copied […]

Read More
Value TypePredefined TypeData Types

Char

Char is a data type in c# which is to carry a single character in the range ‘\0’ to ‘\uffff’. Char is value type variable. So when you pass an char to a variable or a method, system creates of a copy for that variable, this means when you change copied variable, it won’t affect […]

Read More
Value TypePredefined TypeData Types

Boolean | Bool

Boolean is a data type in c# which is a flag that returns true or false. Boolean is value type variable. So when you pass an bool to a variable or a method, system creates of a copy for that variable, this means when you change copied variable, it won’t affect the main variable. Or […]

Read More
Value TypePredefined TypeData Types

Byte | SByte

SByte (Signed Byte) is a data type in c# which is to carry numbers in the range -128 to 127. Sbyte is value type variable. So when you pass an sbyte to a variable or a method, system creates of a copy for that variable, this means when you change copied variable, it won’t affect […]

Read More
Value TypePredefined TypeData Types

Short | UShort | Int16 | UInt16

Short is a data type in c# which is to carry numbers in the range -32,768 to 32,767. Short is value type variable. So when you pass an short to a variable or a method, system creates of a copy for that variable, this means when you change copied variable, it won’t affect the main variable. Or changing main variable won’t affect copied variable.

Read More
Value TypePredefined TypeData Types

Long | ULong | Int64 |UInt64

Long is a data type in c# which is to carry numbers in the range -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. Long is value type variable. So when you pass an long to a variable or a method, system creates of a copy for that variable, this means when you change copied variable, it won’t affect the main […]

Read More
Value TypePredefined TypeData Types