This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This is a very basic question about syntax, embarrassed to ask, but I forget the answer, and don't have my references here. I believe this is a question fitting for this forum. Consider the following code fragment:
This can be accomplished in a single line, something like: