Join Reynald Adolphe for an in-depth discussion in this video Using the watch/immediate windows, part of C# 6.0 First Look.
- The Watch and Immediate Window are used to evaluate…variables and expressions when in Debug mode.…Now you might have used it in the past…to examine some variables but…what you couldn't have done before…is use LINQ Expressions and that's exactly…what I want to demonstrate now.…Let's go ahead and put a break point on Line 38,…and then go to the top of the screen…and start the Debug process.…Okay, if you don't see the Watch and Immediate Window…as a default, like you do on my screen,…you could go to the bottom right-hand corner of your screen,…and you should be able to see one of the options,…and click it and have it pop up,…and you could just pan it, just like mine is.…
Now once you have that done,…on the Watch Window just click right below Name,…and lets go ahead and do a Lambda Expression,…querying our collection of comics…and say "Find"…and we'll put a variable "C" goes to,…we want to compare the favorite season…to say "return re: comics with the FavouriteSeason…"that is equal to Summer"…Close parentheses, hit Enter, and there you go.…
- Introducing the new IDE in Visual Studio 2015
- Leveraging nameof expressions
- Using index initializers
- Using await in catch and finally blocks
- Using static
- Resolving conflict instance methods
Skill Level Beginner
1. Touring the Enhanced IDE
2. Expression-Level Features
3. Statement-Level Features
Adding exception filters2m 42s
4. Member Declaration and Initialization Features
5. Improved Debugging
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.