The C# ?? Operator(dotnettipoftheday.org)

submitted by superghostsuperghost(2260) 4 years, 4 months ago

The C# ?? Operator

8 comments |category: |Views: 11

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by usshermussherm(5285) 4 years, 4 months ago 0

Just for the record, this is known as the "coalesce operator".

Reply

posted by gavinjoycegavinjoyce(25.7k) 4 years, 4 months ago 0

Tagged :)

Reply

posted by sirroccosirrocco(800) 4 years, 4 months ago 0

How many times do people have to blog about this ?
It's not THAT ground braking.

Reply

posted by gavinjoycegavinjoyce(25.7k) 4 years, 4 months ago 0

5 times?

Reply

posted by sirroccosirrocco(800) 4 years, 4 months ago 0

:)) . On the other hand , it seems that every article that has the "coalesce operator" makes it to the front page ... maybe there's a strategy in it :))

Reply

posted by simonebsimoneb(5450) 4 years, 4 months ago 0

Let's wait for automatic properties and anonymous types to monopolize the homepage then ;)

Reply

posted by w3stfa11w3stfa11(645) 4 years, 4 months ago 0

I thought I had seen this a couple of times before...

Reply

posted by willasrarikickswillasrarikicks(0) 4 years, 4 months ago 0

aka "conditional non-null"

Reply

information Login or create an account to comment on this story