Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Forums Author
Wed, 03-Sep-2014 Authors
Buchha
10
Kumaran
10
All Time Authors
Jayakumars
4160
Karthikanbarasan
3455
Chvrsri
3140

Latest members | More ...


(Statistics delayed by 5 minutes)
 Forum Post

What the use of ?? symble

Gow.net
Posted by Gow.net under WPF on 12/15/2011 7:11:15 AM | Points: 10 | Views : 1096 | Status : [Member] | Replies : 2


 private RelayCommand publickeycommand;

public ICommand PublickeyCommand
{
get { return publickeycommand ?? (publickeycommand = new RelayCommand(() => publickeyBrowse())); }

}

what is the meaning of this symbols ?? , => and += in MVVM pattern any one guide me plz

gowthaman8870226416

Posted by: Blessyjees on: 12/16/2011 [Member] Bronze | Points: 25

Hi,

=> lambda operator, read as "goes to"
?? null-coalescing operator, this is used to define a default value in the case of nullable value type or reference type
+= addition assignment operator. this is equal to x=x+1

Check for this link http://msdn.microsoft.com/en-us/library/sa7629ew.aspx more details

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Gow.net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Debal_saha@yahoo.com on: 12/17/2011 [Member] Starter | Points: 25

pl check out below the link in my blog for your queries explanation .

http://silverlightpractice.blogspot.com/2011/12/how-to-do-work-with-and-in-c-40.html

Gow.net, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response


Found interesting? Add this to: