private static char? ReadChar(string value) { if (!string.IsNullOrWhiteSpace(value)) { return value[0]; } return null; }