|
-
Aug 20th, 2005, 01:51 PM
#5
Re: Unsigned Char....
OK, I don't have my books here, and I don't have internet on the computer I am programming on right now, so I have to run back and forth, so I just looked it up on the internet at the same time as I wrote the post. Here is what I found:
http://codemonkey.sunsite.dk/trainin...arpprimer.html
Code:
BUILT-IN NAMESPACE SIZE VALUES
-------- -------------- ---------- -----------
bool System.Boolean 1 bit true false
byte System.Byte 8 bits 0 -> 255
sbyte System.SByte signed byte -128 -> 127
char System.Char 16 bits unicode txt*
string System.String 2 bytes/char unicode txt*
decimal System.Decimal 2 bytes $ currency $double System.Double 4 bytes 320 sig places
float System.Single 2 bytes 32 sig places
int System.Int32 2 bytes -65363 -> +65363
uint System.UInt32 long System.Int64 4 bytes
ulong System.UInt64 short System.Int16 1 byte
ushort System.UInt16
object System.Object -------- -------------- ---------- -----------
BUILT-IN NAMESPACE SIZE VALUES
I guess that page is wrong then, or maybe my big sick bloaty head missunderstands it. But to be honest, I think it depends on how it has been all ready used. If they are using "unsigned char" as a number then I guess UInt16 is the right one, but if they are using it as a char then I guess string might pull it off, unless you are 100% right, and that web page or I am missunderstanding it... (the latter one are very likely today...I bet my head is on the size of a hot air baloon on the end of the day anyway.. )
- ØØ -
Last edited by NoteMe; Aug 20th, 2005 at 02:01 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|