Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.07 KB

CS0266.md

File metadata and controls

18 lines (13 loc) · 1.07 KB

CS0266

Property Value
Id CS0266
Title Cannot implicitly convert type 'type1' to 'type2'. An explicit conversion exists (are you missing a cast?).
Severity Error
Official Documentation link

Code Fixes

  • Add comparison with boolean literal
  • Change member type according to return expression
  • Create singleton array
  • Use coalesce expression

(Generated with DotMarkdown)