<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/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>Peter Ritchie's MVP Blog - All Comments</title><link>http://msmvps.com/blogs/peterritchie/default.aspx</link><description>This is not a life-saving device.</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Sudden "...you must have Terminal Server User Access permissions on this computer." Error.</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/02/03/sudden-you-must-have-terminal-server-user-access-permissions-on-this-computer-error.aspx#1740991</link><pubDate>Fri, 20 Nov 2009 13:08:04 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1740991</guid><dc:creator>Davide</dc:creator><description>&lt;p&gt;Thx a lot: this is the only way I found to solve my problem!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1740991" width="1" height="1"&gt;</description></item><item><title>re: Thread.Sleep is a sign of a poorly designed program.</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/04/26/thread-sleep-is-a-sign-of-a-poorly-designed-program.aspx#1739735</link><pubDate>Sat, 14 Nov 2009 13:56:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1739735</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;@Richard. &amp;nbsp;Right, using Thread.Sleep(1) will allow any other thread to take control of the CPU for at least a time-slice.&lt;/p&gt;
&lt;p&gt;The question is a little misguided. &amp;nbsp;The parameter to Sleep is the number of milliseconds to sleep. &amp;nbsp;The fact that we&amp;#39;re using 1 millisecond as a parameter means it&amp;#39;s *really* difficult for any number of threads to be calling Thread.Sleep at the very same time. &amp;nbsp;Then, there&amp;#39;s the fact that only one thread at a time per processor is actually running...&lt;/p&gt;
&lt;p&gt;Your question suggests to me that you want to dip into thread prioritization. &amp;nbsp;You want to periodically do no work so other applications can do some. &amp;nbsp;But, you don&amp;#39;t know what those other applications do or whether stopping your work will benefit them at all. &amp;nbsp;I wouldn&amp;#39;t suggest writing your application to do this; there&amp;#39;s no way to do it correctly without being the operating system. &amp;nbsp;Using Thread.Sleep(1) in your threads is enough for the operating system to allow other threads to be responsive. &amp;nbsp;It works remarkably well.&lt;/p&gt;
&lt;p&gt;Are you using Thread.Sleep(1) and seeing that other applications are being starved of CPU?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1739735" width="1" height="1"&gt;</description></item><item><title>re: Thread.Sleep is a sign of a poorly designed program.</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/04/26/thread-sleep-is-a-sign-of-a-poorly-designed-program.aspx#1739682</link><pubDate>Sat, 14 Nov 2009 08:51:32 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1739682</guid><dc:creator>Richard</dc:creator><description>&lt;p&gt;We are looking for a way to relinquish CPU cycles to other applications in a milti-threaded application. If we use sleep.thread(1) in each thread then my assumption is that our other threads will take the CPU.&lt;/p&gt;
&lt;p&gt;The question is...how can we use thread.sleep(1) on all of our threads simultaneously so that CPU cycles are open for other applications?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1739682" width="1" height="1"&gt;</description></item><item><title>re: Upcoming C# 3 Guidance From Microsoft</title><link>http://msmvps.com/blogs/peterritchie/archive/2008/03/13/upcoming-c-3-guidance-from-microsoft.aspx#1737635</link><pubDate>Wed, 04 Nov 2009 15:38:46 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1737635</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;@Lijo: I don&amp;#39;t know of any books that specifically associating language features to SOLID principles. &amp;nbsp;There&amp;#39;s a couple of books that have information about SOLID principles (among other things) and C#. &amp;nbsp;Some of the principles would inherently require specific language features (like DI and Generics):&lt;/p&gt;
&lt;p&gt;Robert/Micha Martin&amp;#39;s Agile Practices and Patterns in C#: &lt;a rel="nofollow" target="_new" href="http://www.amazon.ca/Agile-Principles-Patterns-Practices-C/dp/0131857258"&gt;www.amazon.ca/.../0131857258&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Karl Seguin&amp;#39;s free Foundations of Programming eBook: &lt;a rel="nofollow" target="_new" href="http://bit.ly/2BWCfd"&gt;http://bit.ly/2BWCfd&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1737635" width="1" height="1"&gt;</description></item><item><title>re: Upcoming C# 3 Guidance From Microsoft</title><link>http://msmvps.com/blogs/peterritchie/archive/2008/03/13/upcoming-c-3-guidance-from-microsoft.aspx#1737616</link><pubDate>Wed, 04 Nov 2009 13:47:37 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1737616</guid><dc:creator>Lijo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you please let me know whether there is any C# 3 book available that explains about how to implement SOLID principles (Open Closed Principle,DI,Likosov, etc) using language features like GENERICS, LINQ, Lambda Expression,etc.&lt;/p&gt;
&lt;p&gt;--Sorry if it is a wrong place to ask this question as this is a deviation from the topic.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Lijo Cheeran Joseph&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1737616" width="1" height="1"&gt;</description></item><item><title>re: "Object is currently in use elsewhere" error.</title><link>http://msmvps.com/blogs/peterritchie/archive/2008/01/28/quot-object-is-currently-in-use-elsewhere-quot-error.aspx#1733756</link><pubDate>Tue, 20 Oct 2009 21:16:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1733756</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;@AlanB: GDI+ (the underlying Windows library that Graphics uses) is not thread safe. &amp;nbsp;Adding a Sleep() call like that, as you&amp;#39;ve noticed, simply slows down your code and reduces the likelihood of having another exception because it simply re-tries that code that failed and it&amp;#39;s less likely that another conflicting GDI+ call is being made at the very same time on another thread.&lt;/p&gt;
&lt;p&gt;This isn&amp;#39;t a solution. &amp;nbsp;Since GDI+ isn&amp;#39;t thread-safe you need to synchronize calls to GDI+ on multiple threads. &amp;nbsp;This simply means having a shared lock object and using the C# lock keyword where ever you perform GDI+ operations (i.e. around acquisition of a resource and disposal of the resource).&lt;/p&gt;
&lt;p&gt;Since you code isn&amp;#39;t the only code that can perform GDI+ operations you can&amp;#39;t synchronize all GDI+ code like this. &amp;nbsp;This leaves you to marshal the code back to the GUI thread--which is a drastic design change from what you&amp;#39;ve got now.&lt;/p&gt;
&lt;p&gt;Long story short: you can&amp;#39;t perform GDI+ operations reliably on any thread other than the main (GUI) thread.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1733756" width="1" height="1"&gt;</description></item><item><title>"Object is currently in use elsewhere" a workaround</title><link>http://msmvps.com/blogs/peterritchie/archive/2008/01/28/quot-object-is-currently-in-use-elsewhere-quot-error.aspx#1733733</link><pubDate>Tue, 20 Oct 2009 19:29:19 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1733733</guid><dc:creator>Alan8</dc:creator><description>&lt;p&gt;I&amp;#39;ve been getting this error since I moved some graphics code to a background thread.&lt;/p&gt;
&lt;p&gt;Every Graphics.FromImage () had a matching Dispose () call, so that wasn&amp;#39;t the problem.&lt;/p&gt;
&lt;p&gt;It was happening in the Graphics.DrawImage () method. &amp;nbsp;But only the first time.&lt;/p&gt;
&lt;p&gt;So I put a try/catch block around the DrawImage () call, and a Thread.Sleep (5) in the catch block before trying the DrawImage () a second time. &amp;nbsp;This worked. &amp;nbsp;Sleep parameters &amp;lt;= 3 ms didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a noticeable pause when this happens, which suggests it&amp;#39;s a Microsoft/.NET threading problem. &amp;nbsp;Maybe it will go away in a later version of .NET.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1733733" width="1" height="1"&gt;</description></item><item><title>re: Sudden "...you must have Terminal Server User Access permissions on this computer." Error.</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/02/03/sudden-you-must-have-terminal-server-user-access-permissions-on-this-computer-error.aspx#1733378</link><pubDate>Mon, 19 Oct 2009 13:53:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1733378</guid><dc:creator>Xaj007</dc:creator><description>&lt;p&gt;Big big Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1733378" width="1" height="1"&gt;</description></item><item><title>re: Using Toolbox for Code Snippets in Visual Studio 2005</title><link>http://msmvps.com/blogs/peterritchie/archive/2006/10/13/Using-Toolbox-for-Code-Snippets-in-Visual-Studio-2005.aspx#1732066</link><pubDate>Tue, 13 Oct 2009 00:15:28 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1732066</guid><dc:creator>Serdar Osman Onur</dc:creator><description>&lt;p&gt;nice feature, i was looking for this...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1732066" width="1" height="1"&gt;</description></item><item><title>re: Thread.Sleep is a sign of a poorly designed program.</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/04/26/thread-sleep-is-a-sign-of-a-poorly-designed-program.aspx#1730988</link><pubDate>Fri, 09 Oct 2009 08:30:22 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1730988</guid><dc:creator>Jimbo</dc:creator><description>&lt;p&gt;How would you handle email throttling in a windows service?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1730988" width="1" height="1"&gt;</description></item><item><title>re: Windows Live Messenger Virus Scanner Settings</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/03/22/windows-live-messenger-virus-scanner-settings.aspx#1727822</link><pubDate>Mon, 28 Sep 2009 09:33:04 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1727822</guid><dc:creator>Xavier</dc:creator><description>&lt;p&gt;And... what about the Eset Security? :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1727822" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1726278</link><pubDate>Thu, 24 Sep 2009 13:52:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1726278</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;@bmm60: &amp;nbsp;The point of the article *is* to show that using try/catch does impact performance. &amp;nbsp;What you take out of the post, is up to you. &amp;nbsp;How, otherwise, would you show that try/catch does affect performance if you don&amp;#39;t show the analysis of two different snippets of code--that differ only by the addition of a try/catch? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s true that the second can&amp;#39;t be optimized the same as the first; but that&amp;#39;s because of the added try/catch (or try/finally in C#).&lt;/p&gt;
&lt;p&gt;Changing the code to what Norman suggests (i.e. comparing linear code to looping code with a try/catch) most certainly would be comparing apples to oranges. &amp;nbsp;It would then be the very post you&amp;#39;re saying it already is. &amp;nbsp;It wouldn&amp;#39;t tell you anything--you couldn&amp;#39;t see the difference in optimizations of the same code with and without a container try/catch.&lt;/p&gt;
&lt;p&gt;The code *could* use a catch block and push the WriteLine outside the try/catch; but, it would show the same thing without adding any clarity, IMO.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1726278" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1726160</link><pubDate>Thu, 24 Sep 2009 05:00:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1726160</guid><dc:creator>bmm6o</dc:creator><description>&lt;p&gt;&amp;gt; The point of the post is to dispel the conventional wisdom that using try/catch does not impact performance; this shows that it does.&lt;/p&gt;
&lt;p&gt;I disagree. &amp;nbsp;This article shows that changing the requirements of a program can result in an implementation that has different performance characteristics. &amp;nbsp;Moving the WriteLine to the finally block means you&amp;#39;re comparing apples to oranges; the programs aren&amp;#39;t interchangeable implementations of the same spec, one using try/finally and the other not, they implement different specifications.&lt;/p&gt;
&lt;p&gt;I mean, it&amp;#39;s true that the second program can&amp;#39;t be optimized in the same way that the first one can. &amp;nbsp;I think it&amp;#39;s invalid to draw general conclusions about that from this example. &amp;nbsp;What if you rewrite it in the style Norman suggests?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1726160" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1725641</link><pubDate>Tue, 22 Sep 2009 05:39:24 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1725641</guid><dc:creator>Chuck</dc:creator><description>&lt;p&gt;Thanks for appropriately reading thru the typos in my post :)&lt;/p&gt;
&lt;p&gt;On further review, I see all that should&amp;#39;ve been clear, but I thank you also for accommodating me in my paraphrase of your point.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1725641" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1725225</link><pubDate>Sun, 20 Sep 2009 17:14:35 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1725225</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;@Chuck. &amp;nbsp;That&amp;#39;s the point; the mere introduction of a try block now means there are three explicit potential outcomes. &amp;nbsp;Previously they where only implicit and could be optimized away because they were implicit. &amp;nbsp;The only difference between the two snippets of code is the try/catch. &amp;nbsp;Thus, &amp;quot;using try/catch does not affect performance&amp;quot; is not true (the point of the post).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1725225" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1725224</link><pubDate>Sun, 20 Sep 2009 17:12:04 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1725224</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;@foobar,that&amp;#39;s kind of the point. &amp;nbsp;How do you show how using try/catch affects performance if you don&amp;#39;t have &amp;quot;two programs&amp;quot;?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1725224" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1725080</link><pubDate>Sat, 19 Sep 2009 23:28:32 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1725080</guid><dc:creator>Chuck</dc:creator><description>&lt;p&gt;If I can summarize, I think the criticisms between your non-try code and your try-blocked code is that they&amp;#39;re not really functional equivalents. &amp;nbsp;I&amp;#39;m a linguist, not a computer-scientists so I apologize if the jargon is off -- but in the non-try code, the value of the variable inside WriteLine is always 3 regardless of what happens with the other functions being called.&lt;/p&gt;
&lt;p&gt;The JIT-compiled code is -- absolutely and of course -- different between the two because the try-blocked code has not one but THREE potential outcomes:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;int count = 1;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SomeMethod(); &amp;nbsp;## Raise exception here count=1&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;count++;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SomeOtherMethod(); ## Raise exception here count=3&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;count++;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;The functionally-equivalent code, then, is not something that runs two functions and makes count == 3, but rather, the possibility of a raised exception means that there are two implicit conditionals within the try block where there are not within the non-try-block&amp;#39;d code.&lt;/p&gt;
&lt;p&gt;So in order to instantiate the conditionals implied within the try block due to the raised exception, you&amp;#39;d have to do something like:&lt;/p&gt;
&lt;p&gt;int count = 1;&lt;/p&gt;
&lt;p&gt;if someMethod(){&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;count++&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if someOtherMethod(){&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;count++}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Console.WriteLine(count);&lt;/p&gt;
&lt;p&gt;I guess I&amp;#39;d be curious to know: is there a performance difference between THAT and the try-finally code?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1725080" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1725060</link><pubDate>Sat, 19 Sep 2009 20:54:36 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1725060</guid><dc:creator>foobar</dc:creator><description>&lt;p&gt;@Peter &amp;nbsp;The examples are two different programs. &amp;nbsp;They have different outputs depending on when an exception is thrown. &amp;nbsp;They are not the same and thus the optimizations are not the same. &amp;nbsp;If you wanted to point out that similar programs with different output might have different runtime performance, then keep the article. &amp;nbsp;But, it does not prove anything about the lack of optimizations in a try/catch/finally block. &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1725060" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1725052</link><pubDate>Sat, 19 Sep 2009 19:50:54 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1725052</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;@Jonathan Allen: &amp;nbsp; In what way do you think this is nonsense?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1725052" width="1" height="1"&gt;</description></item><item><title>re: Performance Implications of try/catch/finally</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/06/22/performance-implications-of-try-catch-finally.aspx#1725051</link><pubDate>Sat, 19 Sep 2009 19:50:32 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1725051</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;@d * @bmm60 &amp;nbsp;Exactly, we don&amp;#39;t want it to optimise this code. &amp;nbsp;The point of the post is to dispel the conventional wisdom that using try/catch does not impact performance; this shows that it does.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1725051" width="1" height="1"&gt;</description></item></channel></rss>