Use the var
keyword to declare the data type of the variable.
The var
keyword tell the compiler to infer the data type of the variable based on the value it has been initialized to.
Implicit declaration always required a variable to be initialized at the time of declaration.