You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a feature request to convert try/catch statements to expressions similarly how it's done in C# 7.x. Additionally, when used with code blocks, the last value is returned as the result of the expression:
@saleyn Language design discussions have moved over to the csharplang.
What you describe sounds much like dotnet/csharplang#980
I'll go ahead and close this issue as duplicate. Feel free to continue the discussion there.
I have a feature request to convert try/catch statements to expressions similarly how it's done in C# 7.x. Additionally, when used with code blocks, the last value is returned as the result of the expression:
Example:
The text was updated successfully, but these errors were encountered: