The C# ?? null coalescing operator (and using it with LINQ)(weblogs.asp.net)

submitted by gavinjoycegavinjoyce(25.7k) 4 years, 4 months ago

I know we've had many posts on DNK about the null coalescing operator, but this one is from Scott Guthrie. So there.

2 comments |category: |Views: 31

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 w3stfa11w3stfa11(645) 4 years, 4 months ago 0

Hehe, the null coalescing operator will never die!

Reply

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

Long live the conditional non-null operator!

All kidding aside, this is pretty slick.

Reply

information Login or create an account to comment on this story