public static string toCSV(Stats stat) { string line = stat.Views + ";" + stat.Favorites + ";" + stat.Comments; return line; }