Join Reynald Adolphe for an in-depth discussion in this video Renaming and refactoring made easier, part of C# 6.0 First Look.
- There's a new experience when renaming.…In the past, when renaming,…you had to use a pop-up to handle it.…Here I'm in an old copy of Visual Studio 2013.…If we were to come and try to rename 'theCrowd',…you'll see the pop-up that I'm referring to coming up.…And if you needed to select the scope,…you had the options right here to choose so.…However, in 2015 the pop-up is no more,…and the renaming happens real time in the code.…
Here we'll rename 'thePeople' to 'theCrowd'.…So I'm going to go ahead and right-click and select 'Rename'…and change this to 'theCrowd',…which is the name of an existing variable.…And what you'll notice is that Visual Studio…will account for that and resolve two conflicts…and explicitly indicate 'Program.theCrowd'.…If you need to include changes in comments or strings,…you have that option over here.…
If you want to go ahead and see…your preview changes, select this.…And when you hit 'Apply', you'll get your preview,…and then you can select 'Apply' when you're…completely satisfied with it.…
- 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.