Beispiel #1
0
 public static void MakeCsvFromContactList(LinkedList <GoogleContact> i_Contacts, string i_FilePath)
 {
     using (StreamWriter writer = new StreamWriter(new FileStream(i_FilePath, FileMode.Create, FileAccess.Write)))
     {
         writer.WriteLine(GoogleContact.GetCsvHeader());
         foreach (GoogleContact contact in i_Contacts)
         {
             writer.WriteLine(contact.ToString());
         }
     }
 }
Beispiel #2
0
 public override string ToString()
 {
     return(GoogleContact.objectPropsToCsvString(this));
 }