- Integral Data Types
- Floating Data Types
- Character Data Types
- Other Data Types
Showing posts with label C# support data types. Show all posts
Showing posts with label C# support data types. Show all posts
Saturday, September 10, 2011
Predefined Data Types
These data types are divided into 4 types.
Labels:
C# data type,
C# support data types,
data type in C#
Difference between in Reference and Value Data Type
- Value Types
- Value types hold the data directly.
- Value types do not have default value.
- Value types will be stored in stack memory at compile time.
- Stack is faster in accessing
- Stack is not accessible to garbage collector. Hence it will not be cleared at runtime.
- Value type passes an exact copy to methods.
- Example: Implicit Data Types, Structures, Enumerations.
- Reference Types
- Reference types do not hold the date directly.
- Reference types have default value.
- Reference types will be stored in heap memory at run-time.
- Heap is slower in accessing.
- Heap is accessible to garbage collector. Hence at run-time heap can be cleared.
- Reference types passes a reference (handle) to methods.
- Example: Classes, Objects, Arrays, Delegates, Interfaces.
Read about Data types
Data Types in C hash dot net
Type specifies the type of the data and the size of the data.
Working with Data Types: Data Type specifies the type of the data and the size of the data.
Working with Data Types: Data Type specifies the type of the data and the size of the data.
C# supports two types of Data Types:
C# supports two types of data or we can say that, we can use two types of data types in C#.Net- Value Type
- Reference Type
DATA TYPES
Subscribe to:
Posts (Atom)
Popular 5 Posts Last 7 days
-
Give the demonstration for the various Dialog Box avail with C# Smart Device Application. Nagpur University MCA V Semester, C#.Net, E...
-
greatest element of given matrix #include<stdio.h> #include<conio.h> main() { int a[5][5],m,n,i,j,big; clrscr(); pr...
-
Tweet to take part in the #anything4jetta contest What will u do to win the all-new Jetta All the new Jetta can be yours, with th...
-
.NET is a collection of tools, technologies, and languages that all work together in a framework to provide the solutions that are needed t...
-
Jit compilation The .NET Framework contains one or more JIT compilers that compile your IL code down to machine code, or code that is CPU-s...