Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
This syntactic sugar removes the braces from simple methods and properties and makes them one-liners.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Ranvir Sahota
9,844 Pointspublic MapLocation Location => path.GetLocation(pathStep); How does it know to get?
Posted by Ranvir SahotaRanvir Sahota
9,844 Points2 Answers
-
Trailhead Boise5
4,979 Points1 Answer
-
Amy Kang
17,188 PointsUnexpected symbol '=>' in class, struct, or interface member declaration
Posted by Amy KangAmy Kang
17,188 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up