public List<Contact> getContacts(List<string> ids) { #if !SILVERLIGHT send_getContacts(ids); return recv_getContacts(); #else var asyncResult = Begin_getContacts(null, null, ids); return End_getContacts(asyncResult); #endif } #if SILVERLIGHT