<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Suggestion: add optional “where” clause to “foreach” statement in C#</title><link>https://www.dotnetzone.gr:443/cs/blogs/birbilis/archive/2016/05/16/suggestion-add-optional-where-clause-to-foreach-statement-in-c.aspx</link><description>Wouldn’t it be nice if I could use in C# the following syntax? for (SomeType repeaterVariable &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; in SomeEnumerable &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; where someBooleanExpressionOfRepeaterVariable) &amp;#160; doSomethingUsingRepeaterVariable;</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator></channel></rss>