The Default Value Types

Posted on Updated on

The Default Value type

Class/Structure Name

Data Type in C#.NET 

NO. of Bytes 






 0 to 255





 -128 to 127





 -32,768 to 32,767





 0 to 65,535





 -2,147,483,648 to 2,147,483,647





 0 to 4,294,967,295





9,223,372,036,854,775,808 to 9,223,372,036,854,775,807





 0 to 18,446,744,073,709,551,615










 ±1.5e−45 to ±3.4e38
(Precision:7 digits)





 ±5.0e−324 to ±1.7e308
(Precision:15-16 digits)





 (-7.9 x 1028 to 7.9 x 1028) / (100 to 28)
(Precision:28-29 digits)










 0 to 65535




 size varies

 Alphabets, numbers & special characters



















 size varies

 Can store any type of value

One thought on “The Default Value Types

    vissicomp2013 responded:
    October 30, 2013 at 10:03 am

    The Default Value Types

    Liked by 1 person

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s