Hello!
I have a option set field that have two options A, B. values are 0 and 1 respectively.
Now I have retrieved a record containing the above option set field, with A in it.
How can I get that A from the option set in the record I retrieved?
I used the code below to get text fields
EntityCollection contacts = RetrieveContacts();
foreach (Entity contact in contacts.Entities)
{
Guid contactId = contact.Id;
string name = contact.Contains("name") ? contact["name"].toString() : "";
}
Thank you!
*This post is locked for comments