Hacker News new | ask | show | jobs
by PurpleBoxDragon 2688 days ago
In C# var is always a place holder for the actual type which the compiler only accepts if it can figure out the type. If you do anything to the var that you can't do to the actual type it will still give you a compile time error.