0
What are some examples where you would use var keyword instead of setting type upfront?
2 Respuestas
0
Kindly find the answer here:
https://www.sololearn.com/Discuss/83148/when-should-i-use-var-in-declaring-a-variable
- 1
var number = 5; the console will figure out what data type it is when the code is ran.