Skip to content

Poor (beginner) if statements #10633

@gggustafson

Description

@gggustafson

Type of issue

Other (describe below)

Description

Throughout the documentation appear statements like:

`if ( boolean-variable == true ) { do something }`

The if-statement should read

`if ( boolean-variable ) ...`

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.backgroundworker?view=netframework-3.5

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.ComponentModel/BackgroundWorker.xml

Document Version Independent Id

2bbec9a8-0dcc-dba0-f5a7-2ef5a9cb97dd

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions