From the course: .NET Essentials: Working with LINQ
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Explore the expression editor - .NET Tutorial
From the course: .NET Essentials: Working with LINQ
Explore the expression editor
- [Instructor] In this course, I'm writing the code in C#. That means I need to use one of the C# editors in LinqPad. And I have three possible choices. They're listed on the top of this dropdown. Expression, Statements or Program. In this video, we'll look at the first item, Expression. What does that mean? We'll start by opening some code here in 4A Expression. First thing we need to talk about is what is an Expression in C#? An Expression is something that yields a value. And then we use that value in our code or stored in a variable. Now, LinqPad when you choose this expression item. This from this dropdown, it's going to find an expression in the code and it will evaluate that expression. And then it will output the result of that expression into the results window. Now it can only evaluate one expression. Now let's start by talking about literals. Literals and C# are considered to be expressions. So here I've…
Contents
-
-
-
-
Why use LINQPad?1m 32s
-
(Locked)
Initial tour of LINQPad3m 52s
-
(Locked)
Set destination folder for course examples1m 54s
-
(Locked)
Explore the expression editor3m 9s
-
(Locked)
Explore the statements editor2m 32s
-
(Locked)
Show formatted output with the Dump method2m 59s
-
(Locked)
Explore the program editor1m 34s
-
(Locked)
Run a subset of code1m 55s
-
-
-
-
-
-
-
-
-
-
-
-
-
-