CSharpFeeds - All your C# feeds in one place.

Monday, January 11, 2010

Continuing to an outer loop

by Eric Lippert via Fabulous Adventures In Coding on 1/11/2010 2:54:00 PM

When you have a nested loop, sometimes you want to “continue” the outer loop, not the inner loop. For example, here we have a sequence of criteria and a sequence of items, and we wish to determine if there is any item which matches every criterion: match = null;foreach(var item in items){  foreach(var criterion in criteria)  {    if (!criterion.IsMetBy(item))    {      // No point in checking anything further; this is not &nb ...

[ read more ]

Using Model View Presenter in WPF

by Paul Stovell via Paul Stovell on 1/11/2010 10:09:41 AM

I have owned a copy of Sams Teach Yourself WPF in 24 Hours for about a year, and I still find it an interesting book. One thing I like about this book is that doesn't just show off WPF features - it shows how to use the Model-View-Presenter pattern in doing so. The book was written by Rob Eisenberg and Christopher Bennage from BlueSpire, who are also the guys behind the Caliburn WPF framework, so they know a thing or two about the Model-View-Presenter pattern. Like the Model- ...

[ read more ]

Using the Model View Presenter pattern in WPF

by Paul Stovell via Paul Stovell on 1/11/2010 10:09:41 AM

I have owned a copy of Sams Teach Yourself WPF in 24 Hours for about a year, and I still find it an interesting book. One thing I like about this book is that doesn't just show off WPF features - it shows how to use the Model-View-Presenter pattern in doing so. The book was written by Rob Eisenberg and Christopher Bennage from BlueSpire, who are also the guys behind the Caliburn WPF framework, so they know a thing or two about the Model-View-Presenter pattern. Like the Model- ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us