Upgrade to Pro — share decks privately, control downloads, hide ads and more …

C# 7.0 - What's New (Show IT, Bratislava, 2017)

C# 7.0 - What's New (Show IT, Bratislava, 2017)

Syntax Enhancements with C# 7.0

Christian Nagel

February 07, 2017
Tweet

More Decks by Christian Nagel

Other Decks in Programming

Transcript

  1. History of C# •OO & Component Oriented 1.0 •Generics 2.0

    •LINQ 3.0 •Dynamic 4.0 •Async 5.0 •Roslyn & Many Improvement's 6.0
  2. Christian Nagel • Training • Coaching • Consulting • Microsoft

    MVP • thinktecture • www.cninnovation.com
  3. What’s Needed? • Separation of Functionality and State • Immutable

    Objects •  Functional Programming can help
  4. C# 6 Features for Functional Programming • Using Static •

    Enhancements with Properties • Expression Bodied Methods • Exception Filters • String Interpolation • Null Conditional Operator
  5. C# 7.0 Enhancements • Digit Separators and Binary Literals •

    Out Var, Ref Local and Ref Return • Local Functions • Expression Syntax Everywhere • Pattern Matching • Tuples and Deconstruction
  6. Summary • C# is a Multi-Paradigm Language • Influences from

    Functional Programming • Major new Features – Tuples and Deconstruction – Pattern Matching
  7. Images Copyright • Violin © Beyla Balla • Ladder to

    the Sky © Louise Reach • Diversity working people © Vladimir Mucibabic • Code Coding Programming Sire © Rawpixelimages • Problem Solving Series © Pablo631 • Bratislava © Tomas1111 • http://www.dreamstime.com