public static string DeleteCodePart(BracketLimits descriptionLimits, string code)
 {
     int descriptionLen = descriptionLimits.CloseBracketIndex - descriptionLimits.OpenBracketIndex + 1;
     return code.Remove(descriptionLimits.OpenBracketIndex, descriptionLen);
 }
 public static string GetSubStrAccordingLimits(BracketLimits limits, string code)
 {
     int subStrLen = limits.CloseBracketIndex - limits.OpenBracketIndex + 1;
     return code.Substring(limits.OpenBracketIndex, subStrLen);
 }