Test your technical skills online, appear in Virtual Interview and be ready for job!
Twitter Twitter LinkedIn YouTube Google
Be Interview ready ! | Search
Make friends on DotNetFunda.com and expand your network!
Winners

Win Prizes

Announcements
Like us on Facebook
Sponsor
Top Forums Author
Wed, 23-Apr-2014 Authors
Saranpselvam
20
Sheonarayan
10
Sivakumar.S
10
All Time Authors
Jayakumars
3930
Karthikanbarasan
3455
Chvrsri
3140

Latest members | More ...


(Statistics delayed by 5 minutes)

What the use of ?? symble

Gow.net
Posted by Gow.net under WPF on 12/15/2011 7:11:15 AM | Points: 10 | Views : 956 | 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

Reply | Reply with Attachment

=> Scroll below for responses


Comments or Responses

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.

Comments / Responses
Select text & click toolbar to format. Formatting appears in viewmode only. HTML Tags are not allowed.
Bold Italic Underline Paragraph Title Code  Link 
 Wait ... Processing ..... please wait.

Found interesting? Add this to: