The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
If you encounter this compilation error, it means, you are trying var keyword outside a code block. var works only within code blocks, such as methods and property get and set.
No comments:
Post a Comment