From the course: LINQPad Essential Training
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Run a selected area of code - LINQ Tutorial
From the course: LINQPad Essential Training
Run a selected area of code
- [Instructor] You don't have to run all the code in the query window when you click on the run button. Instead you can do is you can select some of the code and run a subset of the code. So let's select line five, and then click the run button. You see that code ran successfully, down here at the bottom. It says it completed successfully. Notice what else happens is the rest of the code turns gray to tell you that this is the only line of code that ran. Now as soon as I click anywhere inside the code editor, then it all goes back from being gray to the normal colors. Let's try that again. Let's try to run line six. Run it. See, everything turns gray. This time I'm getting an error marker, and I'm also getting a message up here saying it cannot execute the text selection. "The name 'X' does not exist." So what's happening is I'm attempting to run line six, but line six has a variable X that was declared on line…
Contents
-
-
-
-
-
(Locked)
WriteLine vs. the Dump extension method1m 43s
-
(Locked)
Understand the Dump helper2m 54s
-
(Locked)
Create descriptive output with the Dump header1m 19s
-
(Locked)
Run a selected area of code1m 36s
-
(Locked)
Exclude and include columns1m 39s
-
(Locked)
Repeat table headers1m 19s
-
(Locked)
Change output to grid control1m 17s
-
(Locked)
-
-
-
-
-
-
-