|
|
|
|
|
by dnissley
4419 days ago
|
|
Type inference in C# with the var keyword doesn't work like a dynamic language like javascript. It works by simply using var as a placeholder for whatever type the right hand side returns, which is determined at compile time. |
|
I guess you'd just have to declare it explicitly in that case.