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.
Understand the Dump helper - LINQ Tutorial
From the course: LINQPad Essential Training
Understand the Dump helper
- [Instructor] The dump extension method. I put information to the Results panel. The format of the output changes based on what you are dumping. In this first example, we're up putting simple string data so you get simple string output like this. There is the results. A number of strings. I'm dumping a string literal, I'm dumping a Boolean expression, here I'm dumping the double literal. On line nine, I'm calling two string and formatting that as currency. And then finally, I'm calling date time today and dumping that out so I'm seeing the date and time value here. And the next example, we'll see the output in a single column table. So this first example works with the culture info, current culture and gets the date, time format, day names. So what we'll see here is a single column table. On the header we see that this is an array of strings and there's the values. Next I'm going to call GetType on this double…
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)
-
-
-
-
-
-
-