Class

Class is a data type that can hold properties and functionalities. Class is reference type variable. So when you pass a class to a variable or a method, it references variable. This means when you change copied variable, it will change the main variable too. Or changing main variable will change the copied variable.   […]

Read More
Reference TypeUser-defined TypeData Types

Integral Numeric Types

Integral numeric types reprensent integer numbers and all integer numbers are value type. Here is the list of integral numeric type; Integral numeric types; sbyte => Visit here for more details byte => Visit here for more details short => Visit here for more details ushort => Visit here for more details int => Visit here for more details uint => Visit here for more details […]

Read More
Data Types

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