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
Yes VS can help completing the initialize statements after you input '=', but what if you want to change the type of the member? You have to modify it twice.
The text was updated successfully, but these errors were encountered:
qaqz111
changed the title
Don't you think it is bothered initializing fields and properties?
Simplify the initializing of fields and properties
Sep 2, 2017
Since you can't use
var
to defined class members, you have to write this:Yes VS can help completing the initialize statements after you input '=', but what if you want to change the type of the member? You have to modify it twice.
It will be simpler if there is a shorthanded way:
The text was updated successfully, but these errors were encountered: