public static void SavePath(Path3D path) { string filePath = string.Format(@"C:\Users\Iliyan\Dropbox\Fundamentals [OOP]\HM\Static Members and Name Spaces\" + "{0}.txt", (counter.ToString())); File.WriteAllText(filePath, string.Join(Environment.NewLine, path.Points3D())); counter++; }