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.

Explore the statements editor

Explore the statements editor - LINQ Tutorial

From the course: LINQPad Essential Training

Explore the statements editor

- [Instructor] Use the statement editor, to experiment with multi-line code examples. Let's review the code in this file. Here you can see three lines of code, all the normal rules for C sharp apply here, and each line of code with a semi-colon, we can use any valid C-sharp keyword or syntax, link pad configures comment.net namespaces for the query, even though we don't see them here in the code window. So that means we can work with many .net types. If you do want to see the namespaces that are available, right click on the query tab, choose query properties, and then take a look at the namespace imports tab. By default we can work with classes in these 16 .net namespaces. This list is customizable. We can add or remove namespaces per query. What is the code doing? We've got three lines of code. The first line of code is creating an integer variable, and assigning a value to it. Line six is creating a Boolean…

Contents