How to replace a var with the explicit type?
Options
if I hover over a var i can see the type. How do I replace the var with the explicit type?
Comments
-
LINQPad doesn't include this refactoring. It is something you use often?
-
I don't use it often in linqpad. I use it in Visual Studio using Resharper.
There are times when there's a call to a method and it's not clear what the type of the return value is so I change the var to the explicit type.
It's ok if LinqPad doesn't have this feature.