Thursday, May 19, 2011

C# Intrinsic data types

The intrinsic types

C# type Size (in bytes) .NET type Description
byte 1 Byte Unsigned (values 0-255).
char 2 Char Unicode characters.
bool 1 Boolean True or false.
sbyte 1 SByte Signed (values -128 to 127).
short 2 Int16 Signed (short) (values -32,768 to 32,767).
ushort 2 UInt16 Unsigned (short) (values 0 to 65,535).
int 4 Int32 Signed integer values between -2,147,483,648 and 2,147,483,647.
uint 4 UInt32 Unsigned integer values between 0 and 4,294,967,295.
float 4 Single Floating point number. Holds the values from approximately +/-1.5 * 10-45 to approximately +/-3.4 * 1038 with 7 significant figures.
double 8 Double Double-precision floating point; holds the values from approximately +/-5.0 * 10-324 to approximately +/-1.8 * 10308 with 15–16 significant figures.
decimal 12 Decimal Fixed-precision up to 28 digits and the position of the decimal point. This is typically used in financial calculations. Requires the suffix "m" or "M."
long 8 Int64 Signed integers ranging from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
ulong 8 UInt64 Unsigned integers ranging from 0 to approximately 1.85 * 1019.

17 comments:

Unknown said...

Nice post very helpful
DBAKings

Jack son said...

Controls of Mathematics, Statistics, Computer science, and Information innovation adds to their speculations and systems in the foundation of the field of Data Science. ExcelR Data Science Courses

ravali said...

Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!

data science course

priyash said...

wonderful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. This article resolved my all queries.
Data Science Course

priyash said...

Amazing Article ! I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
Simple Linear Regression
Correlation vs covariance
data science interview questions
KNN Algorithm

Unknown said...

Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!!
360digitmg

Anonymous said...

Amazing Article ! I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
Correlation vs Covariance
Simple Linear Regression
data science interview questions
KNN Algorithm
Logistic Regression explained

EXCELR said...

A Computer Scientist figures out how to plan programming frameworks and gains top to bottom learning of the hypothesis of calculationdata scientist courses

EXCELR said...

Thank you for sharing wonderful information with us.Really useful for everyonedata scientist courses

saketh said...

This was really one of my favorite website. Please keep on posting. ExcelR Data Scientist Course In Pune With Placement

Deekshitha said...

Informative blog
best data science institute in kolkata

Deekshitha said...

Informative blog
data science in ahmedabad

Data Science said...

Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing.data scientist course in warangal

360DigiTMG said...

A good blog always comes-up with new and exciting information and while reading I feel that this blog really has all those qualities that qualify a blog to be one.
data analytics courses in hyderabad with placements

Data Science said...

Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one.
Continue posting. A debt of gratitude is in order for sharing.
data scientist course in warangal

data scientist course said...

Great Article it its really informative and innovative keep us posted with new updates. its was really valuable. thanks a lot.
business analytics course in hyderabad

Emerging Technologies said...

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also. data science course in pune