private void WriteBaseFile(Word_ID newWord) { StreamWriter sw = new StreamWriter(HopeLoveMindPath + BaseConceptsStringFilename, true, MyEncoding); sw.Write("\r\n" + newWord.ToString()); sw.Flush(); sw.Close(); }
override public string ToString() { string res = ""; res += me.ToString() + " "; edge_infos.ForEach(edgeInfo => { res += "to " + edgeInfo.to.ToString() + " "; // edgeInfo.mods.ForEach(mod => // { // res += mod.ToString() + " "; // }); res += edgeInfo.mods; }); return(res); }