Appendix D. ASCII Character Set
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
|
0 |
nul |
soh |
stx |
etx |
eot |
enq |
ack |
bel |
bs |
ht |
1 |
nl |
vt |
ff |
cr |
so |
si |
dle |
dc1 |
dc2 |
dc3 |
2 |
dc4 |
nak |
syn |
etb |
can |
em |
sub |
esc |
fs |
gs |
3 |
rs |
us |
sp |
! |
" |
# |
$ |
% |
& |
' |
4 |
( |
) |
* |
+ |
, |
- |
. |
/ |
0 |
1 |
5 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
: |
; |
6 |
< |
= |
> |
? |
@ |
A |
B |
C |
D |
E |
7 |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
8 |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
9 |
Z |
[ |
|
] |
^ |
_ |
' |
a |
b |
c |
10 |
d |
e |
f |
g |
h |
i |
j |
k |
l |
m |
11 |
n |
o |
p |
q |
r |
s |
t |
u |
v |
w |
12 |
x |
y |
z |
{ |
| |
} |
~ |
del |
The digits at the left of the table are the left digits of the decimal equivalent (0127) of the character code, and the digits at the top of the table are the right digits of the character code. For example, the character code for "F" is 70, and the character code for "&" is 38.
Most users of this book are interested in the ASCII character set used to represent English characters on many computers. The ASCII character set is a subset of the Unicode character set used by C# to represent characters from most of the world's languages. For more information on the Unicode character set, see Appendix E.