Our coding standards ask that we minimise the use of C# var (suggests limiting it\'s use to being in conjunction with Linq). However there are times when using generics wher
May be very late, but I wrote a Visual Studio 2015 extension that does this based on .NET Compiler platform. Replace var with Type It is tested for normal scenarios and if there is a bug, I shall fix it at the earliest and its also open source in case someone wants to contribute or enhance this tool.