foreach (Benefit bene in claim.SubClaimFolderCollection[0].BenefitsFolder.BenefitCollection)
{
Dictionary<string, object> searchBeneficiary =
new Dictionary<string,object>();
searchBeneficiary.Add("rli_beneficiariesid", ((Guid)claimant.GetValue("rli_subclaimfolderid", true)));
}
It gives me this error
An item with the same key has already been added while adding an item to dictionary.