Quote:[1]Posted by eliassal on 10 Nov 2005 06:17 AM[/1]
Hi, i read 2 of your articles they are interesting. However, I can not figure out what or where the contents come from for the variable
readonly string[] LowNames and how it is used. I would appreciate a short description.
Do you mean you don't know how the array is populated, or you don't know why I populated it with the names I did?
To answer the first question - if you look at the code, you'll see there's a static field initializer:
static readonly string[] LowNames =
{
"NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "BEL",
"BS", "HT", "LF", "VT", "FF", "CR", "SO", "SI",
"DLE", "DC1", "DC2", "DC3", "DC4", "NAK", "SYN", "ETB",
"CAN", "EM", "SUB", "ESC", "FS", "GS", "RS", "US"
};
The names come from the man page for ASCII on a unix box
Jon