<?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: VSTO for Outlook 2007 - Building the Add-in (part 2)</title><link>http://weblogs.asp.net/avnerk/archive/2007/01/03/vsto-for-outlook-2007-building-the-add-in-part-2.aspx#8294923</link><pubDate>Sun, 12 Feb 2012 19:49:19 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8294923</guid><dc:creator>Empower Network Review</dc:creator><description>&lt;p&gt;I dont disagree with this blog...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8294923" width="1" height="1"&gt;</description></item><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#8289412</link><pubDate>Wed, 08 Feb 2012 19:10:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8289412</guid><dc:creator>Timwi</dc:creator><description>&lt;p&gt;Hi. This blog entry makes you appear heavily misinformed, although to be fair the comments seem to indicate that you do know your stuff, you just haven’t really worded it very well. Here are some corrections:&lt;/p&gt;
&lt;p&gt;• default(T) is *not* for checking if a type is a value type or reference type. It is simply a way of returning a default value (one which, in technical terms, corresponds to binary zeroes).&lt;/p&gt;
&lt;p&gt;• It is not true that default(T) can only be used on generic parameters. You can write default(int) just fine. You refer to it as a “generic keyword” but it has nothing as such to do with generics (any more than typeof() does, anyway).&lt;/p&gt;
&lt;p&gt;• It is true that you can’t use default() on run-time types (variables of type “Type”). It should be quite clear why you can’t do that: the “Type” type is just an API, not really a feature of the C# language. The correct solution would be to have a method in the Reflection API, perhaps Type.GetDefaultValue(), which would do the equivalent of your snippet. I do wonder why such a method doesn’t exist.&lt;/p&gt;
&lt;p&gt;• You correctly discovered that default(T) translates into the IL instruction “initobj”. However, the “initobj” opcode expects a type metadata token as an operand, so you can’t use it on a variable of type “Type”, so it can’t do any more than default(T) can. So being able to embed IL directly into your code wouldn’t help.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8289412" width="1" height="1"&gt;</description></item><item><title>re: OperationContext is ThreadStatic</title><link>http://weblogs.asp.net/avnerk/archive/2006/05/18/OperationContext-is-ThreadStatic.aspx#8288415</link><pubDate>Wed, 08 Feb 2012 06:17:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8288415</guid><dc:creator>Ianthexmn</dc:creator><description>&lt;p&gt;more and more cheap bags wait for you!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8288415" 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#8287908</link><pubDate>Wed, 08 Feb 2012 00:38:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8287908</guid><dc:creator>buy cheap oem software</dc:creator><description>&lt;p&gt;nlHjuS Author, keep doing &amp;nbsp;in the same way..!!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8287908" width="1" height="1"&gt;</description></item><item><title>re: VSTO for Outlook 2007 - Building the Add-in (part 2)</title><link>http://weblogs.asp.net/avnerk/archive/2007/01/03/vsto-for-outlook-2007-building-the-add-in-part-2.aspx#8280609</link><pubDate>Sat, 04 Feb 2012 07:46:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8280609</guid><dc:creator>leugens</dc:creator><description>&lt;p&gt;Youre unquestionably correct on this piece..&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8280609" width="1" height="1"&gt;</description></item><item><title>re: VSTO for Outlook 2007 - Building the Add-in (part 2)</title><link>http://weblogs.asp.net/avnerk/archive/2007/01/03/vsto-for-outlook-2007-building-the-add-in-part-2.aspx#8276850</link><pubDate>Thu, 02 Feb 2012 05:47:46 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8276850</guid><dc:creator>oliva cigars</dc:creator><description>&lt;p&gt;All around well thought out piece...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8276850" width="1" height="1"&gt;</description></item><item><title>re: No Per-item permissions in WSSv3's Web Services?!</title><link>http://weblogs.asp.net/avnerk/archive/2007/07/02/no-per-item-permissions-in-wssv3-s-web-services.aspx#8273361</link><pubDate>Tue, 31 Jan 2012 10:05:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8273361</guid><dc:creator>nodeFedEpoere</dc:creator><description>&lt;p&gt;When visiting blogso i always look for a very nice content like yours o&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8273361" width="1" height="1"&gt;</description></item><item><title>re: VSTO for Outlook 2007 - Building the Add-in (part 2)</title><link>http://weblogs.asp.net/avnerk/archive/2007/01/03/vsto-for-outlook-2007-building-the-add-in-part-2.aspx#8273289</link><pubDate>Tue, 31 Jan 2012 09:11:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8273289</guid><dc:creator>reputation manager</dc:creator><description>&lt;p&gt;You could not be more right on.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8273289" width="1" height="1"&gt;</description></item><item><title>re: A silly little C# language feature request: .! operator</title><link>http://weblogs.asp.net/avnerk/archive/2006/07/13/A-silly-little-C_2300_-language-feature-request_3A00_-_2E002100_-operator.aspx#8272069</link><pubDate>Mon, 30 Jan 2012 13:35:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8272069</guid><dc:creator>biamsashlea</dc:creator><description>&lt;p&gt;buy a &amp;lt;a href=&lt;a rel="nofollow" target="_new" href="http://convert-dvd-to-iphone.weebly.com/&amp;gt;convert"&gt;convert-dvd-to-iphone.weebly.com/&amp;gt;convert&lt;/a&gt; dvd to iphone&amp;lt;/a&amp;gt; &amp;nbsp;for more &amp;nbsp; with confident&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8272069" width="1" height="1"&gt;</description></item><item><title>re: VSTO for Outlook 2007 - Building the Add-in (part 2)</title><link>http://weblogs.asp.net/avnerk/archive/2007/01/03/vsto-for-outlook-2007-building-the-add-in-part-2.aspx#8271106</link><pubDate>Sun, 29 Jan 2012 06:50:38 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8271106</guid><dc:creator>snel geld lenen zonder bkr toetsing</dc:creator><description>&lt;p&gt;I don't disagree with this article...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8271106" width="1" height="1"&gt;</description></item></channel></rss>
