Readonly variables inside method scopes #4250
-
Basically I'd like something like this, if it's feasible: public void DoStuff() {
readonly int len = Enumarable.Count()
} I can't use IssuesMain issue here is that it's just... really not essential of a feature, but more of a nice addition. Function scopes aren't that large that adding this feature would reduce any bugs, or even easily cause any. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See: #188 |
Beta Was this translation helpful? Give feedback.
See: #188