Why do C# try catch blocks behave like other code blocks? – softwareengineering.stackexchange.com

I want to add error handling to: var firstVariable = 1; var secondVariable = firstVariable; The below won't compile: try { var firstVariable = 1; } catch {} try { var secondVariable = ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Why do C# try catch blocks behave like other code blocks? – softwareengineering.stackexchange.com"