Visual Studio 2017 Encapsulate Field - how to return the old format?
So, let's say I want to encapsulate a field with a good field "Edit-> Refactor-> Encapsulate", since it saves quite a lot of time:
private GameSettings gameSettings; In Visual Studio 2015, I get:
public GameSettings GameSettings { get { return gameSettings; } set { gameSettings = value; } } But with Visual Studio 2017 I get:
internal GameSettings GameSettings { get => gameSettings; set => gameSettings = value; } Is there a way to get it to generate an old style? It seems like half of the properties have one style and half in another ...
+5