Hi i have two string builders s1 and s2. I am assigning orders to that stringbuilder using comma separator. I want to compare two string builders. I want to know that all the orders in s1 are in s2 as well. If not i want know which order is missing in s2. How to achieve that?
if (!IsPostBack)
{
int reccount = dsResult.Tables[0].Rows.Count;
for (int count = 0; count < reccount;count++)
{
HashSet<string> arrayOrdId = new HashSet<string>();
arrayOrdId.Add(dsResult.Tables[0].Rows[count][1].ToString());
// arrayOrdId[count] = dsResult.Tables[0].Rows[count][1].ToString();
}
}