What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 23953 |  Welcome, Guest!   Register  Login
 Home > Forums > WPF > What the use of ?? symble ...
Gow.net

What the use of ?? symble

Replies: 2 | Posted by: Gow.net on 12/15/2011 | Category: WPF Forums | Views: 717 | Status: [Member] | Points: 10  


 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 | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Blessyjees
Blessyjees  
Posted on: 12/16/2011 5:55:42 AM
Level: Bronze | Status: [Member] | 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. | Reply | Alert Moderator 

Debal_saha@yahoo.com
Debal_saha@yahoo.com  
Posted on: 12/17/2011 11:14:03 PM
Level: Starter | Status: [Member] | 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. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

Found interesting? Add this to:


 Latest Posts

Write New Post | More ...

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/25/2013 7:20:58 AM