Skip to content

Operator =?? (opposite to ??=) #288

Open
@rostopira

Description

@rostopira

I propose to make =?? operator
Expression a =?? b works as

if (b != null)
  a = b;

If ??= exists, why this one doesn't?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProposed language feature that solves one or more problemsnull-aware-expressionsIssues proposing new expressions to manage null

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions