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

Write example code - Visual Studio Tutorial

From the course: Visual Studio 2019 Essential Training

Start my 1-month free trial

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…

Contents