what is a tinyint in C#?
SQL has its own datatypes. But a small int in SQL translates to an Int16 in C#. But there is no such thing as Int8 in C#. So what is a tiny int in C#?
What is a tinyint in C#?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Mahesh ChandRank #1 · 393.3K reputationPosted Jul 12, 2011, 5:47 PM EDT
short = 16 bits
int = 32 bits
long = 64 bits
VulpesRank #55 · 29.2K reputationPosted Jul 12, 2011, 2:52 PM EDT
Both are single byte unsigned integers with a range of 0 to 255.
Syed ShakeerRank #777 · 3K reputationPosted Feb 14, 2017, 6:35 AM EST