//FrequencyCalculator calculator = new FrequencyCalculator();
protected virtual void waitUserInput () {
//calculator.Load();
while (true) {
Console.Write (GetType ().Name.ToLower () + " > ");
//calculator.Save();
var line = Console.ReadLine ();
if(false) // 2020年2月26日
//calculator.Record(line);
if (line.Trim () == string.Empty) continue;
try {
normalcmdlineprocessor (line);
} catch (Exception e) {
Console.WriteLine (e);
}
}
}
网友评论