Implicitly Typed Variable
A local variable declared with var whose type is determined at compile time.
What is Implicitly Typed Variable in C#?
Implicitly Typed Variable — A local variable declared with var whose type is determined at compile time.
class Game
{
void UpdateScore()
{
int score = 10;
score = score + 5;
}
}
Level: Apprentice · More C# terms at this level
Updated