<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Miscellaneous Debris - All Comments</title><link>http://weblogs.asp.net/avnerk/default.aspx</link><description>Avner Kashtan&amp;#39;s Frustrations and Exultations</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Non-generic default values in C#? Why not?!</title><link>http://weblogs.asp.net/avnerk/archive/2006/05/21/Non_2D00_generic-default-values-in-C_23003F00_-Why-not_3F002100_.aspx#7260687</link><pubDate>Thu, 19 Nov 2009 18:18:22 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7260687</guid><dc:creator>Charles T.</dc:creator><author>Charles T.</author><description>&lt;p&gt;I solved this issue with an extension method. I put it in a try catch just in case people also try to call the extension from a non-initialized object.&lt;/p&gt;
&lt;p&gt;public static class Extensions&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &amp;lt;summary&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// Determines if a given object is set to its default value or not&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &amp;lt;/summary&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &amp;lt;param name=&amp;quot;obj&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/// &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public static Boolean IsDefaultValue&amp;lt;T&amp;gt;(this T val)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return ((typeof(T).IsValueType)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;? (default(T).Equals(val))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: (null == val));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (NullReferenceException nex)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7260687" width="1" height="1"&gt;</description></item><item><title>re: Allowing timeout on long-running operations - possible bug</title><link>http://weblogs.asp.net/avnerk/archive/2007/08/27/allowing-timeout-on-long-running-operations-possible-bug.aspx#7258773</link><pubDate>Wed, 18 Nov 2009 06:31:46 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7258773</guid><dc:creator>poori</dc:creator><author>poori</author><description>&lt;p&gt;I just got an iphone 3g and I got so excited that i filled it with loads of applications and songs (about $30 worth). The other day when i plugged my &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://unlockiphone22.com/&amp;quot;&amp;gt;click"&gt;unlockiphone22.com/&amp;quot;&amp;gt;click&lt;/a&gt; here&amp;lt;/a&amp;gt; &amp;nbsp;into the computer on itunes it said to reset the iphone to factory settings. I dont want to loose all my apps so what can i do? PLEASE REPLY A.S.A.P.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7258773" width="1" height="1"&gt;</description></item><item><title>re: Allowing timeout on long-running operations - possible bug</title><link>http://weblogs.asp.net/avnerk/archive/2007/08/27/allowing-timeout-on-long-running-operations-possible-bug.aspx#7258730</link><pubDate>Wed, 18 Nov 2009 05:31:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7258730</guid><dc:creator>poori</dc:creator><author>poori</author><description>&lt;p&gt;i was thinking about gettin the &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://unlockiphone22.com/&amp;quot;&amp;gt;click"&gt;unlockiphone22.com/&amp;quot;&amp;gt;click&lt;/a&gt; here&amp;lt;/a&amp;gt; &amp;nbsp;for christmas, but i heard some bad things about it :S can any one tell me a few things about it? x&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7258730" width="1" height="1"&gt;</description></item><item><title>re: Bad compiler warnings when using anonymous methods for Predicate&lt;T&gt;</title><link>http://weblogs.asp.net/avnerk/archive/2006/05/22/Bad-compiler-warnings-when-using-anonymous-methods-for-Predicate_3C00_T_3E00_.aspx#7256817</link><pubDate>Mon, 16 Nov 2009 17:11:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7256817</guid><dc:creator>stimul8d</dc:creator><author>stimul8d</author><description>&lt;p&gt;pretty poor form from the compiler though it should have just been...&lt;/p&gt;
&lt;p&gt;List&amp;lt;Whatever&amp;gt; list = // get list&lt;/p&gt;
&lt;p&gt;outputList = list.FindAll(delegate(Whatever item)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; return (//blah blah);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;);&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7256817" width="1" height="1"&gt;</description></item><item><title>re: Context-Bound Thread Queuer - FunFun.</title><link>http://weblogs.asp.net/avnerk/archive/2006/05/19/Context_2D00_Bound-Thread-Queuer-_2D00_-FunFun_2E00_.aspx#7254757</link><pubDate>Sat, 14 Nov 2009 20:35:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7254757</guid><dc:creator>inetreklam</dc:creator><author>inetreklam</author><description>&lt;p&gt;Массовая рассылка, e mail рассылки, email рассылка.&lt;/p&gt;
&lt;p&gt;Программы рассылки, icq рассылки.&lt;/p&gt;
&lt;p&gt;Спам-хостинг, spam-хостинг. АБУЗОУСТОЙЧИВЫЙ ХОСТИНГ !&lt;/p&gt;
&lt;p&gt;Рассылки в каталоги , форумы, гостевые книги, доски объявлений ,блоги.&lt;/p&gt;
&lt;p&gt;Рассылки по mamba.ru в vkontakte.ru .&lt;/p&gt;
&lt;p&gt;Массовая рассылка Вашей рекламы. &lt;/p&gt;
&lt;p&gt;Рассылки по всему МИРУ !=&amp;gt; ПРЯМАЯ доставка до адресата !&lt;/p&gt;
&lt;p&gt;&amp;lt;b&amp;gt;&lt;a rel="nofollow" target="_new" href="http://INET-Reklama.SU"&gt;http://INET-Reklama.SU&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ICQ: 391-401-173&amp;lt;/b&amp;gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7254757" width="1" height="1"&gt;</description></item><item><title>re: Context-Bound Thread Queuer - FunFun.</title><link>http://weblogs.asp.net/avnerk/archive/2006/05/19/Context_2D00_Bound-Thread-Queuer-_2D00_-FunFun_2E00_.aspx#7254447</link><pubDate>Sat, 14 Nov 2009 13:43:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7254447</guid><dc:creator>FredyvLH</dc:creator><author>FredyvLH</author><description>&lt;p&gt;There are sundry myths and stories wide Santa Claus and his origins. The most popularized is joined about a chains named saint Nicholas who gave toys to all the children in his village. That story then grew into the parable we all recall today with elves and flying reindeer. With that said I am prosperous to tell you the verifiable origins of Santa and his faithful activity in life.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7254447" width="1" height="1"&gt;</description></item><item><title>re: Context-Bound Thread Queuer - FunFun.</title><link>http://weblogs.asp.net/avnerk/archive/2006/05/19/Context_2D00_Bound-Thread-Queuer-_2D00_-FunFun_2E00_.aspx#7254252</link><pubDate>Sat, 14 Nov 2009 09:36:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7254252</guid><dc:creator>entertainment</dc:creator><author>entertainment</author><description>&lt;p&gt;&amp;lt;a href=&lt;a rel="nofollow" target="_new" href="http://city-pleasure.com&amp;gt;Escorts"&gt;http://city-pleasure.com&amp;gt;Escorts&lt;/a&gt; Worldwide&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7254252" width="1" height="1"&gt;</description></item><item><title>re: Context-Bound Thread Queuer - FunFun.</title><link>http://weblogs.asp.net/avnerk/archive/2006/05/19/Context_2D00_Bound-Thread-Queuer-_2D00_-FunFun_2E00_.aspx#7253481</link><pubDate>Fri, 13 Nov 2009 14:19:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7253481</guid><dc:creator>Opponiaupdaph</dc:creator><author>Opponiaupdaph</author><description>&lt;p&gt;Hi guys and girls alike! This is my only post here, but I will contribute more later. :)&lt;/p&gt;
&lt;p&gt;Anyway, I'm starting a holiday season weightloss blog dedicated to Acai Berry! =) I will constantly be updating the blog with more and more special Acai Berry deals! (So exciting, heh!)&lt;/p&gt;
&lt;p&gt;The website is: &lt;a rel="nofollow" target="_new" href="http://acaiberrydiscounts.blogspot.com"&gt;acaiberrydiscounts.blogspot.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I look plan to getting to befriend everyone! =)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7253481" width="1" height="1"&gt;</description></item><item><title>re: Customizing MOSS Page Title</title><link>http://weblogs.asp.net/avnerk/archive/2007/04/11/customizing-moss-page-title.aspx#7253243</link><pubDate>Fri, 13 Nov 2009 08:29:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7253243</guid><dc:creator>poori</dc:creator><author>poori</author><description>&lt;p&gt;What kind of software will (or do you think) will come out for the iPhone when the software development kit comes out in February? And how will it be transfered to the iPhone? Will there be a software upgrade put out?&lt;/p&gt;
&lt;p&gt;________________&lt;/p&gt;
&lt;p&gt; &amp;lt;a href=&lt;a rel="nofollow" target="_new" href="http://unlockiphone22.com/&amp;gt;unlock"&gt;unlockiphone22.com/&amp;gt;unlock&lt;/a&gt; iphone 3g 3.1&amp;lt;/a&amp;gt; &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7253243" width="1" height="1"&gt;</description></item><item><title>re: Context-Bound Thread Queuer - FunFun.</title><link>http://weblogs.asp.net/avnerk/archive/2006/05/19/Context_2D00_Bound-Thread-Queuer-_2D00_-FunFun_2E00_.aspx#7253120</link><pubDate>Fri, 13 Nov 2009 04:52:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7253120</guid><dc:creator>Opponiaupdaph</dc:creator><author>Opponiaupdaph</author><description>&lt;p&gt;Hi guys and girls alike! This is my only post here, but I plan to add more later. :)&lt;/p&gt;
&lt;p&gt;Anyway, I'm starting a holiday season health blog dedicated to life! =) I will constantly be updating the blog with more and more special Acai Berry deals! (So exciting, heh!)&lt;/p&gt;
&lt;p&gt;The website is: &lt;a rel="nofollow" target="_new" href="http://acaiberrydiscounts.blogspot.com"&gt;acaiberrydiscounts.blogspot.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I look forward to getting to know all of you! Love 'ya!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7253120" width="1" height="1"&gt;</description></item></channel></rss>