Try below code:
string num = set.Tables[0].Rows[(set.Tables[0].Rows.Count) - 1]["OptionNumber"].ToString();
num = num.Substring(2, num.Length - 2);
int test = Convert.ToInt32(num) + 1;
string test2 = "op" + Convert.ToString(test).PadLeft(num.Length, '0');