Monthly Archives: March 2017

Visual Studio 2017 Code Refactoring – Convert Property To Method

Sometimes you start with creating a class property but later you realised that there is much more work in that property and it’s better to have it as a method. Visual Studio 2017 converting a property to a method quite trivial. … Continue reading

Posted in Visual Studio 2017 | Leave a comment

Visual Studio 2017 Code Refactoring – Sync up Class and File names

Sometimes your C# file name and class name are different for whatever reason and you want to fix it. The usual way of “fixing” this issue is either by renaming the file name in solution explorer or changing the class name … Continue reading

Posted in Uncategorized | Leave a comment

Visual Studio 2017 Code Refactoring – Moving a class into its own file

Visual Studio 2017 has introduced new quick ways to refactor your code. One such refactoring is about moving a class in a new file. There are use cases when a developer may have created many classes in a single file. As … Continue reading

Posted in Visual Studio 2017 | Leave a comment