மாற்று! » பதிவர்கள்

Eric Lippert

Chaining simple assignments is not so simple    
February 11, 2010, 2:59 pm | தலைப்புப் பக்கம்

UPDATE: I interrupt this episode of FAIC with a request from my friend and colleague Lucian, from the VB team, who wonders whether it is common in C# to take advantage of the fact that assignment expressions are expressions. The most common usage of this pattern is the subject of this blog entry: the fact that "chained" assignment works at all is a consequence of the fact that assignments are expressions, not statements. There are other uses too; one could imagine something...தொடர்ந்து படிக்கவும் »
பகுப்புகள்: