static void SaveMap(string outfile) { StreamWriter sw = new StreamWriter(outfile + ".map"); sw.Write(srfDopp.ToText().Replace(",", ".")); sw.Flush(); sw.Close(); }