Beispiel #1
0
    public static void ExportCSV(StringData stringData)
    {
        using (var writer = new CsvFileWriter(defaultPath + "csvFile.csv"))
        {
            foreach (var key in stringData.GetAllKey())
            {
                List <string> columns = new List <string>
                {
                    key,
                    stringData.GetValue(key)
                };

                Debug.Log("key : " + key + ", data : " + stringData.GetValue(key));
                writer.WriteRow(columns);
            }
        }
    }