Question 3 uses "auto" instead of "var"

Question 3 in the quiz refers to this line of code:
auto mysteryVariable = Physics.Raycast(ray, out hitInfo);
But I don’t think there is an “auto” keyword in C#. Probably should have been “var” instead.

Privacy & Terms