Sharpen is a Visual Studio extension that intelligently introduces new C# language features into your existing code base. It makes your code shorter, simpler, more expressive, more performant, and more readable, in one word - sharper.
Sharpen identifies places in your code that will benefit of introducing new C# language features. It helps you to quicker learn new C# features and to critically refactor your existing code to modern C#.
Benefits at a Glance
Faster Learning of New C# Features
Learn new C# features faster by applying them to your existing code base.
Forget the simplified, artificial code samples often used to introduce new C# features. Sharpen points to places in real-life production code - your code! - where new C# features should be used.
Critical Approach to New C# Features
Learn to ❤ C# but not blindly. Take love with a pinch of salt ;-)
Sharpen brings a critical view on C# features. It recommends applying them only if their usage will actually result in "sharper" code. Sharpen is not shy of saying No to a language feature.
Consistent Usage of C# Features
Consistency matters. Your preferences as well.
Once configured on your project, Sharpen ensures that C# language features are consistently used over the whole code base.
Code Refactoring on Arbitrary Scale
Safely refactor your code by a single mouse click.
Sharpen can refactor your code on an arbitrary scale: single place in code, single file, or a whole project, or solution. At the same time, it gives you full control over the scope and nature of the refactorings.
Improving Code on a Larger Scope
Still having BackgroundWorkers in your code?
It's time to replace them with async-await! Sharpen is equipped with an intelligent heuristics that recognizes potential improvements of your code on a broader scope.
Extensive Documentation on C# Language
Tired of searching for new C# features in random blog posts?
Sharpen comes with extensive built-in documentation on C# language features. It's a one-stop-shop for everything you ever wanted to know about the design and evolution of C#.
Note that in the current version of Sharpen the following features mentioned in the above chapters are still not available:
All notable changes to the Sharpen extension are documented in the changelog. Below is the excerpt from the changelog that lists only the summary of major changes.