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:

有年 said...

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

靜宸靜宸 said...

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

潘凱花潘凱花 said...

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

王美妹 said...

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

冠宇DeonKilgore0 said...

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

魏智偉魏智偉 said...

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

姿弘綸穎 said...

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

文岳仲君 said...

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

張黃柏亞武茜 said...

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

章鱼 said...

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

智黃黃黃元 said...

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

威吳隆威吳隆威吳隆威吳隆 said...

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

阿袁袁袁袁華 said...

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