## Typografische Tags: samp

Hier die Ausgabe eines "Writers" Tag "samp":
`private static bool checkNumber(String source, out int number) {
number = 0;
bool isNumber = false;
if (source.EndsWith("H")) {
String first = source.Substring(0, 1);
if (first.Equals("0") || first.Equals("1") ||
first.Equals("2") || first.Equals("3") || )
first.Equals("4") || first.Equals("5") || )
first.Equals("6") || first.Equals("7") || )
first.Equals("8") || first.Equals("9") ) {
source = source.Substring(0, source.Length - 1);
isNumber = Int32.TryParse(source, System.Globalization.NumberStyles.HexNumber, System.Globalization.CultureInfo.InvariantCulture, out number);
}
else {
isNumber = false;
}
}
else {
isNumber = Int32.TryParse(source, out number);
}
return isNumber;
}
`