+ 3
So what is var supposed to mean again?
7 Réponses
+ 2
You are already learning and in 2nd chapter given about variable then why again?
But there is no var in C#.
We define variable using some data types like int, double, float
+ 2
It's used to allow the compiler rather than the developer to decide on the variable type based on the assigned value.
+ 1
Jamie💐 var is a keyword which is use to define variable like in JavaScript. Now in the latest version of Java also but this keyword is not available in c# as I know.
+ 1
Yeah var lkeyword is available in C#