<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: ?? Operator and its use case</title>
	<atom:link href="http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/feed/" rel="self" type="application/rss+xml" />
	<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/</link>
	<description>.NET C#, Oracle, SQL Server and all other stuff that gives live a sense.</description>
	<lastBuildDate>Sun, 03 Jan 2010 22:45:39 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike</title>
		<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1358</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 21 Aug 2008 13:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1358</guid>
		<description>You can also string ?? operators together which makes it even more useful sometimes, e.g.:

string value = ConfigurationManager.AppSettings[&quot;AppKey&quot;] ?? ConfigurationManager.AppSettings[&quot;UserKey&quot;] ??  &quot;DefaultValue&quot;;

This allows you to prioritise assignment of values and use the first non-null or the default if all are null.</description>
		<content:encoded><![CDATA[<p>You can also string ?? operators together which makes it even more useful sometimes, e.g.:</p>
<p>string value = ConfigurationManager.AppSettings["AppKey"] ?? ConfigurationManager.AppSettings["UserKey"] ??  &#8220;DefaultValue&#8221;;</p>
<p>This allows you to prioritise assignment of values and use the first non-null or the default if all are null.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Gotow</title>
		<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1353</link>
		<dc:creator>Ben Gotow</dc:creator>
		<pubDate>Wed, 09 Jul 2008 17:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1353</guid>
		<description>That&#039;s pretty cool - I&#039;ve never really understood the use of the ? and ?? operators. Between that and LINQ - I can probably clean up my C# code :-D</description>
		<content:encoded><![CDATA[<p>That&#8217;s pretty cool &#8211; I&#8217;ve never really understood the use of the ? and ?? operators. Between that and LINQ &#8211; I can probably clean up my C# code <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Langer</title>
		<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1318</link>
		<dc:creator>Dave Langer</dc:creator>
		<pubDate>Fri, 15 Feb 2008 18:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1318</guid>
		<description>great! I wa using something stupid like this:

int val;
int.TryParse(ds.Tables[0].ds.Tables[1].Rows[0][&quot;PAY_MONTH&quot;].ToString().Trim(), out val);
payMonth = val;

and now:
payMonth = ds.Tables[1].Rows[0][&quot;MES124&quot;].ToString().Trim() ?? 0;


Thanks Gerhard, 3rd time I found something useful here, keep the good coding...</description>
		<content:encoded><![CDATA[<p>great! I wa using something stupid like this:</p>
<p>int val;<br />
int.TryParse(ds.Tables[0].ds.Tables[1].Rows[0]["PAY_MONTH"].ToString().Trim(), out val);<br />
payMonth = val;</p>
<p>and now:<br />
payMonth = ds.Tables[1].Rows[0]["MES124"].ToString().Trim() ?? 0;</p>
<p>Thanks Gerhard, 3rd time I found something useful here, keep the good coding&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan Migliorisi</title>
		<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1178</link>
		<dc:creator>Bryan Migliorisi</dc:creator>
		<pubDate>Mon, 12 Nov 2007 19:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1178</guid>
		<description>This was my absolute favorite change when moving from VB to C#</description>
		<content:encoded><![CDATA[<p>This was my absolute favorite change when moving from VB to C#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1177</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 12 Nov 2007 17:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1177</guid>
		<description>I couldn&#039;t understand some parts of this article nnial 2007 - salvatore iaconesi - del.icio.us poetry, but I guess I just need to check some more resources regarding this, because it sounds interesting.</description>
		<content:encoded><![CDATA[<p>I couldn&#8217;t understand some parts of this article nnial 2007 &#8211; salvatore iaconesi &#8211; del.icio.us poetry, but I guess I just need to check some more resources regarding this, because it sounds interesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Etheredge</title>
		<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1171</link>
		<dc:creator>Justin Etheredge</dc:creator>
		<pubDate>Sun, 11 Nov 2007 16:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1171</guid>
		<description>In VB.net you can kinda fake it with a generic method, but the C# operator is just so much more elegant.</description>
		<content:encoded><![CDATA[<p>In VB.net you can kinda fake it with a generic method, but the C# operator is just so much more elegant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris van der Mast</title>
		<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1170</link>
		<dc:creator>Kris van der Mast</dc:creator>
		<pubDate>Sun, 11 Nov 2007 13:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1170</guid>
		<description>Hi,

recently I also wrote several articles about the null coalescing operator: http://blog.krisvandermast.com/SearchView.aspx?q=%22null%20coalescing%20operator%22.

Since I found out about the existence of this incredible usefull operator I used on all possible occasions. Too bad VB.NET doesn&#039;t support an equivalent of it.

Grz, Kris.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>recently I also wrote several articles about the null coalescing operator: <a href="http://blog.krisvandermast.com/SearchView.aspx?q=%22null%20coalescing%20operator%22" rel="nofollow">http://blog.krisvandermast.com/SearchView.aspx?q=%22null%20coalescing%20operator%22</a>.</p>
<p>Since I found out about the existence of this incredible usefull operator I used on all possible occasions. Too bad VB.NET doesn&#8217;t support an equivalent of it.</p>
<p>Grz, Kris.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J</title>
		<link>http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1169</link>
		<dc:creator>J</dc:creator>
		<pubDate>Sun, 11 Nov 2007 12:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://jachman.wordpress.com/2007/11/08/operator-and-its-use-case/#comment-1169</guid>
		<description>It&#039;s its, not it&#039;s</description>
		<content:encoded><![CDATA[<p>It&#8217;s its, not it&#8217;s</p>
]]></content:encoded>
	</item>
</channel>
</rss>
