<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: If Then Else Shorthand in C#</title>
	<atom:link href="http://dustyreagan.com/if-then-else-shorthand-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://dustyreagan.com/if-then-else-shorthand-in-c/</link>
	<description>On Technology &#38; Entrepreneurship</description>
	<lastBuildDate>Thu, 29 Jul 2010 23:29:01 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Style</title>
		<link>http://dustyreagan.com/if-then-else-shorthand-in-c/comment-page-1/#comment-77</link>
		<dc:creator>Style</dc:creator>
		<pubDate>Fri, 29 Jan 2010 08:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://dev.dustyreagan.com/?p=34#comment-77</guid>
		<description>thanks =)</description>
		<content:encoded><![CDATA[<p>thanks =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janus007</title>
		<link>http://dustyreagan.com/if-then-else-shorthand-in-c/comment-page-1/#comment-76</link>
		<dc:creator>Janus007</dc:creator>
		<pubDate>Tue, 23 Dec 2008 12:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://dev.dustyreagan.com/?p=34#comment-76</guid>
		<description>or
showTopEntries = showTopEntries &gt;= totalEntries ?? totalEntries

;)</description>
		<content:encoded><![CDATA[<p>or<br />
showTopEntries = showTopEntries &gt;= totalEntries ?? totalEntries<br />
 <img src='http://dustyreagan.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: j</title>
		<link>http://dustyreagan.com/if-then-else-shorthand-in-c/comment-page-1/#comment-75</link>
		<dc:creator>j</dc:creator>
		<pubDate>Thu, 06 Nov 2008 15:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://dev.dustyreagan.com/?p=34#comment-75</guid>
		<description>If you don&#039;t want an &#039;else&#039; in the statement, just set the &#039;else&#039; portion to the value of the original variable.  In that case, if something is true it gets set to a new value, otherwise it stays the same.

Example:

int a = 0;
int b = 10;
a = b &gt; 100 ? b : a;</description>
		<content:encoded><![CDATA[<p>If you don&#8217;t want an &#8216;else&#8217; in the statement, just set the &#8216;else&#8217; portion to the value of the original variable.  In that case, if something is true it gets set to a new value, otherwise it stays the same.</p>
<p>Example:</p>
<p>int a = 0;<br />
int b = 10;<br />
a = b &gt; 100 ? b : a;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://dustyreagan.com/if-then-else-shorthand-in-c/comment-page-1/#comment-74</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Thu, 01 May 2008 10:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://dev.dustyreagan.com/?p=34#comment-74</guid>
		<description>What if i dont want the else?

i.e.

showTopEntries = showTopEntries &gt;= totalEntries ? totalEntries

is there a way to get that to work?</description>
		<content:encoded><![CDATA[<p>What if i dont want the else?</p>
<p>i.e.</p>
<p>showTopEntries = showTopEntries &gt;= totalEntries ? totalEntries</p>
<p>is there a way to get that to work?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
