I usually just write one piece at a time, gradually adding more to the query until the whole things works.
However recently it became clear to me that a lot people don't know that you can debug Linq queries rather easily. For example, if you right click on the right hand side of an assignment (either or a let or a from) you can set a break point which will be hit.
How do you test an Rx query like that? Do you have to write it fully formed before you know that it works?
ReplyDeleteThanks for sharing.
I usually just write one piece at a time, gradually adding more to the query until the whole things works.
ReplyDeleteHowever recently it became clear to me that a lot people don't know that you can debug Linq queries rather easily. For example, if you right click on the right hand side of an assignment (either or a let or a from) you can set a break point which will be hit.