Code Analysis ReferenceFixesCS0822On this pageCS0822PropertyValueTitleImplicitly typed locals cannot be const.SeverityErrorCode FixesUse explicit type instead of 'var'See AlsoOfficial Documentation