"catch when" was included in C#6.0, which shouldn't be neccessary
Attach a file by drag & drop or click to upload