public static string GetContactResult(Contact contact)
{
var result = new StringBuilder();
//result.AppendFormat("Display name: {0}", contact.DisplayName);
//result.AppendLine();
//foreach (ContactEmail email in contact.Emails)
//{
// result.AppendFormat("Email address ({0}): {1}", email.Kind, email.Address);
// result.AppendLine();
//}
foreach (ContactPhone phone in contact.Phones)
{
//result.AppendFormat("Phone ({0}): {1}", phone.Kind, phone.Number);
result.AppendFormat("{0}", phone.Number);
result.AppendLine();
}
return result.ToString();
}