Skip to main content

CS0029

PropertyValue
TitleCannot implicitly convert type 'type' to 'type'.
SeverityError

Code Fixes

  • Change member type according to return expression
  • Change type according to initializer
  • Change type to var
  • Replace string literal with character literal
  • Replace yield return with foreach
  • Use yield return instead of return

See Also