public static void PrintAllGroups(ContactsRequest cr) { Feed fg = cr.GetGroups(); foreach (Group group in groups.Entries) { Console.WriteLine("Atom Id: " + group.Id); Console.WriteLine("Group Name: " + group.Title); Console.WriteLine("Last Updated: " + group.Updated.ToString()); Console.WriteLine("Extended Properties:"); foreach (ExtendedProperty property in group.ExtendedProperties) { Console.WriteLine(" " + property.Name + " = " + property.Value); } Console.WriteLine("Self Link: " + group.Self); if (!string.IsNullOrEmpty(group.SystemGroup)) { // System groups do not have an edit link. Console.WriteLine("Edit Link: " + group.GroupEntry.EditUri.Content); Console.WriteLine("Etag: " + group.ETag); } else { Console.WriteLine("System Group Id: " + group.SystemGroup); } } }