O'Reilly logo
live online training icon Live Online training

Utilizing C# 7.0’s Most Powerful Features

From Tuples to Pattern Matching

Keith Welch

C# 7.0 adds a number of new features that developers will want to be aware of and make use of. The most anticipated features are tuples, which make it easy to return multiple results from a method, and pattern matching which simplifies switch statements that are conditional on the shape of data, but there are many other features as well. This course will describe and demonstrate the most pivotal features that have been added to C# 7.

What you'll learn-and how you can apply it

Participants will understand:
- How to use the new C# 7 features in your projects.

This training course is for you because...

The course is targeted at C# developers who want to learn about the latest features in C# and how they fit into the programming development cycle.

Prerequisites

  • Familiarity with C# as well as basic object oriented programming principles.

Materials or Downloads Needed in Advance:
- Working files are included, allowing you to follow along with the author throughout the lessons.

About your instructor

  • Keith Welch has been in engineering for over 30 years, and in software development for over 20. Besides being old, he has worked in .Net since the first beta, and in mobile for over 10 years. He is the founder of Mooseworks Software (http://mooseworkssoftware.com/), a custom software development and developer tools company. He is based in New Hampshire and Turks and Caicos, and blogs on http://developerisland.com/.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

  • Lecture: Introduction (10 minutes)
  • Lecture: Out Variables (15 minutes)
  • Break (5 minutes)

  • Lecture: Tuples (25 minutes)

  • Break (5 minutes)

  • Lecture: Tuple Deconstruction (15 minutes)

  • Lecture: Ref returns and locals (10 minutes)
  • Break (5 minutes)

  • Lecture: Pattern Matching (25 minutes)

  • Break (5 minutes)

  • Lecture: Local Functions (10 minutes)

  • Lecture: Language Enhancements (15 minutes)
  • Q&A and Wrap-up