Search Placementyogi.com
 

Integral Data Types in C# .NET

The following table provides all integral data types in C# with its size, range and default values.

Type Size(Bits) Range Default Values Data Suffix
byte 8 0 through 255 0  
sbyte 8 -128 through 127 0  
short 16 -32,768 through 32,767 0  
ushort 16 0 though 65,535 0  
int 32 -2,147,483,648 through 2,147,483,647 0  
uint 32 0 through 4,294,967,295 0 U, u
long 64

-9,223,372,036,854,775,808 through 

9,223,372,036,854,770,000

0L L, l
ulong 64 0 through 18,446,744,073,709,551,615 0 UL, ul
char 2 U +0000 to U +ffff (Unicode Character) '\0'  
Banner to LogicGuns.com

Hide Page Information

.NET Tutorial - Integral Data Types in C#

.NET Tutorial - Integral Data Types in C#

Here you can find complete tutorial for all integral data types through easy learning.

In this section you can learn about integral data types in C# to improve your .NET skills in order to face the interviews, competitive examinations and various entrance tests with full confidence.

Where can I get .NET tutorials?

PlacementYogi provides tutorial on Integral Data Types through easy learning process focusing interviews.

You can easily learn Integral Data Types through our compact and best tutorials.