Debugging and Delayed Execution in C# 3.0(blogs.msdn.com)

submitted by SreekarSreekar(200) 4 years, 10 months ago

C# 3.0 added a few constructs like queries which are delay executed. This means that they are not actually executed until the results of the query are required. Debugging some of them can seem strange since one can't step in to the Query where its created but only where its enumerated, like in a foreach loop. In this article i will show some of the problems that the user can face based on the fact that the Query is delay executed and the debugger tries to be as non-intrusive as possible.

1 comment |category: |Views: 27

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by sfernandosfernando(0) 4 years, 10 months ago 0

This is a very enlightening article, considering the fact that I am still playing with the new concepts of C# 3.0. Keep it coming, man!!

Reply

information Login or create an account to comment on this story