Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ee0bc0d176
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.397 kB
using System;
class T {
static int Main() {
char[] chars = new char[]
{'0', 'F', 'f', 'x', '1', 'n', 'a'};
bool[] results = new bool[]
{true, false, false, false, true, false, false};
for (int i = 0; i < chars.Length; ++i) {
if (Char.IsNumber (chars [i]) != results [i]) {
Console.WriteLine ("Char '{0}' failed", chars [i]);
return 1;
}
}
return 0;
}
}
Jump to Line
Something went wrong with that request. Please try again.