From the course: Visual Studio 2019 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Look up type information - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Look up type information
- [Instructor] Having a way to look at code definitions is valuable, so you won't be surprised to learn that Visual Studio has many ways to do that. Let's review the project structure. I have three projects in the solution. PublisherLib is a shared library that is used throughout to show different book information, and it's used by this WPF application and this Console application. I'm looking at the code inside Program.cs. Let's see what I'm working with. On line 14, I'm instantiating a new instance of this book data source, then I'm calling this get best selling book method, and that returns a book instance. So I'm working with another type, the book class. On line 16, I'm working with the .net console class I'm calling this right line method. And then finally on line 19 I am calling the books update price method. As a programmer I find it interesting to read source code sometimes when I'm trying to understand how something works. I might be interested in looking at how the get best…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Use the enhanced editor scrollbar2m 49s
-
(Locked)
Use the Class View to explore classes2m 30s
-
(Locked)
View class relationships with Class Diagram6m 5s
-
(Locked)
Look up type information5m 11s
-
(Locked)
Use Peek Definition to see inline definitions1m 50s
-
(Locked)
Find all references2m 32s
-
(Locked)
See critical reference info inline with CodeLens2m 23s
-
(Locked)
Find content and files with the Go To tool3m 58s
-
(Locked)
-
-