protected static bool GetVariableIndex(char input,ref uint offset) { if (input >= 'A' && input <= 'C') { offset = (uint)(input - 'A'); return true; } return false; }