Skip to main content

CS0136

PropertyValue
TitleA local variable named 'var' cannot be declared in this scope because it would give a different meaning to 'var', which is already used in a 'parent or current/child' scope to denote something else.
SeverityError

Code Fixes

  • Remove parameter
  • Replace variable declaration with assignment

See Also