text: public static void Main(string[] args){FSDirectory dir = null;string inputStr = null;string field = null;if (args.Length == 3){dir = FSDirectory.Open(new DirectoryInfo(args[0]));field = args[1];inputStr = args[2];}else{throw new ArgumentException();}TermInfo(dir, new Term(field, inputStr));}