Tuesday, July 13, 2010

Null-Coalesce operator (??) in C#

In OOP Programming we often check for null values in our code  Here is the null-coalesce operator (??) comes in handy and can write very less code to check null.

image

Nandri(Thanks)

R.SeenivasaRagavan

13 comments:

Anonymous said...

Some people cannot see the wood for the trees.............................................................

Anonymous said...

這麼好的blog不回應怎麼行咧!............................................................

Anonymous said...

我們能互相給予的最佳禮物是「真心的關懷」。..................................................

Anonymous said...

河水永遠是相同的,可是每一剎那又都是新的。..................................................

Anonymous said...

你不能左右天氣,但你可以改變心情.................................................................

Anonymous said...

不會從失敗中找尋教訓的人,成功之路是遙遠的。.................................................

Anonymous said...

一個人的價值,應該看他貢獻了什麼,而不是他取得了什麼.................................................................

Anonymous said...

你不能決定生命的長度,但你可以控制它的寬度............................................................

Anonymous said...

新手上路哦~請大家多支持(・ˍ・*) ............................................................

Anonymous said...

幸福不是一切,人還有責任。............................................................

Anonymous said...

如果擬任為輸贏是最重要的事,那你輸了................................................

Anonymous said...

時間就是靈魂的生命。................. ................................................

Anonymous said...

謝謝大大分享!!經典!~(。・ω・)............................................................