public static bool HasUnit(string word) { int i; return !Int32.TryParse(word.Substring(word.Length - 1, 1), out i); }