title: Xamarin android Read Contacts and Numbers
body: <p>I know to retrieve the names of contacts that's code below. But what should I change in this code to also have the numbers of phone associated with the contact list?</p>
  
  <pre><code>  var uri = ContactsContract.Contacts.ContentUri;
  
              string[] projection = { ContactsContract.Contacts.InterfaceConsts.Id,
     ContactsContract.Contacts.InterfaceConsts.DisplayName };
  
              var cursor = ManagedQuery(uri, projection, null, null, null);
  
              var contactList = new List&lt;string&gt;();
  
              if (cursor.MoveToFirst())
              {
                  do
                  {
                      String phoneNumber = cursor.GetString(cursor.GetColumnIndex(ContactsContract.CommonDataKinds.Phone.Number));
  
                  contactList.Add(cursor.GetString(
                          cursor.GetColumnIndex(projection[1])));
              } while (cursor.MoveToNext());
          }                
  </code></pre>