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.
Write example code - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Write example code
- [Instructor] When you write code or markup in an editor, you get a lot of help. This collective set of editor tools is known as IntelliSense. I'll show you the IntelliSense in this file, exampleshere.cs. Each editor has its own set of helpers. For example, you might see a drop down list of common programming keywords when writing F# code, but when editing an html file, see a drop down containing familiar markup tags. I'd like to create a method inside this class. I'll start by putting my cursor on line eight and then moving the cursor down with my arrow key. You'll notice that as I move into an editable line, the cursor indents. Now, let's move back up and you'll see that it goes back to the outward position. As I move down and get to another editable line, right here in line 14, you'll see that it moves over. This is called the Smart Indent feature, and I'll talk more about it later. I'll add a new method up here on line nine. I'll start by typing in the letter p. And this list…
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
-
-
-
-
-
-
-
-
-
Explore the code editor windows4m 27s
-
(Locked)
How the proper editor window is loaded4m 26s
-
(Locked)
Write example code6m 37s
-
(Locked)
Use outliners and regions in your code4m 52s
-
(Locked)
Use hover tips3m 27s
-
(Locked)
Quick actions5m 29s
-
Use IntelliSense effectively5m 34s
-
(Locked)
Change tracking for code edits2m 37s
-
(Locked)
Refactor your existing code5m 3s
-
(Locked)
Code snippets5m 7s
-
-
-
-
-