0
Yes, You can use any type to assign to a var-variable The only point is the type of the variable is defined when the variable is declared. Try it, Assign any type to a var-variable and if it is handeld in a correct matter. Use the var keyword wise and only if you need it flexibility Var is strongly typed but can hold different types each time the code is running
17th Feb 2018, 10:44 PM
sneeze
sneeze - avatar