8
mzabsky
3y

Please stop, stop now...

(BTW, assignment statement was on one line, I added breaks just so I could fit it into a screenshot)

If the text is too blurry:

int index;
string fileNameWithoutExt;
additionalData.MailImportConfigCode = (fileNameWithoutExt = schema.Remove(schema.LastIndexOf('.'))).Substring((index = fileNameWithoutExt.LastIndexOf('.') + 1), fileNameWithoutExt.Length - index);
}

Comments
  • 0
  • 1
    I remember doing this when I started programming (Jetbrains had a simplify option). Stoped it real quick when I had to rework my project for the next assignment. Debugging is nightmare when you have to dissect these one liners
Add Comment