This video explains the new tuple features that are available in Visual Studio 2017 with C# 7.
- [Instructor] C# 7.0 allows us…to be able to define Tuples with less code,…and also name the values of the individual elements.…This will not only make Tuples easier to create,…it'll result in much more readable code.…So I'm going to Open up the Car Information Class,…and Close this up, and go under Models, Car Information.…And here we have a method called…Get Performance Information.…It returns a list of Tuples,…and really when you look at that,…it's very hard to understand…what the integers and strings stand for…within the Tuples itself.…
Without a working knowledge of the code base,…it is likely that people maintaining this code…won't know what those values stand for.…Let's fix that to make what is being returned…more intuitive.…So I'm going to use the New Syntax,…and Change this Tuple here, and Add in a Parentheses,…and we'll Close it back up on this side.…Now we see we have an error here,…so let's hover over that.…And it gives us an error that…System.ValueTuple'6' is not defined or imported.…
While C# 7.0 supports this syntax,…
- Working with tuples
- Using C# throw expressions
- Inspecting UI structures with Xamarin Inspector
- Identifying memory leaks in iOS and Android
- Recording and playing back tests with Test Record
- Using embedded assemblies in Android
Skill Level Intermediate
Learning Visual Studio Team Serviceswith Jose Miguel Rady Allende1h 17m Intermediate
1. C# 7 Language Improvements
Inspecting UI structures3m 34s
4. Test Recorder
5. Embedded Assemblies
Where to go from here1m 54s
- 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.