static Exceptions() { excfps = new StreamReader[PartOfSpeech.parts.Count]; IDictionaryEnumerator d = PartOfSpeech.parts.GetEnumerator(); while (d.MoveNext()) { PartOfSpeech p = (PartOfSpeech)(d.Value); excfps[p.ident] = new StreamReader(WNDB.ExcFile(p)); } }
static Exceptions() { IDictionaryEnumerator d = PartOfSpeech.parts.GetEnumerator(); while (d.MoveNext()) { PartOfSpeech p = (PartOfSpeech)(d.Value); if (!excfps.ContainsKey(p.key)) { excfps[p.key] = WNDB.GetStreamReader(WNDB.ExcFile(p)); } } }