Converts the implicitly-typed local variable to a variable with an explicit type.
- when the caret is on an implicit variable declaration (the variable doesn’t have a type explicitly declared, and it is initialized to a value of an integral type).
This refactoring is only available in .NET Framework 3.0 or higher (C# or VB).
- This refactoring is the functional opposite of Make Implicit.
var a = "Hello World";
Dim a = "Hello World"
string a = "Hello World";
Dim a As String = "Hello World"