Skip to main content
  • Book
  • © 2020

C# 8 Quick Syntax Reference

A Pocket Guide to the Language, APIs, and Library

Apress

Authors:

  • A concise reference to the C# 8 language syntax
  • Explores the new nullable reference types, ranges and indices, recursive patterns, switch expressions, and more
  • Short, simple, and focused code examples
  • 45k Accesses

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (30 chapters)

  1. Front Matter

    Pages i-xviii
  2. Hello World

    • Mikael Olsson
    Pages 1-3
  3. Compile and Run

    • Mikael Olsson
    Pages 5-7
  4. Variables

    • Mikael Olsson
    Pages 9-13
  5. Operators

    • Mikael Olsson
    Pages 15-19
  6. Strings

    • Mikael Olsson
    Pages 21-24
  7. Arrays

    • Mikael Olsson
    Pages 25-27
  8. Conditionals

    • Mikael Olsson
    Pages 29-32
  9. Loops

    • Mikael Olsson
    Pages 33-35
  10. Methods

    • Mikael Olsson
    Pages 37-47
  11. Class

    • Mikael Olsson
    Pages 49-63
  12. Inheritance

    • Mikael Olsson
    Pages 65-70
  13. Redefining Members

    • Mikael Olsson
    Pages 71-75
  14. Access Levels

    • Mikael Olsson
    Pages 77-83
  15. Static

    • Mikael Olsson
    Pages 85-90
  16. Properties

    • Mikael Olsson
    Pages 91-95
  17. Indexers

    • Mikael Olsson
    Pages 97-101
  18. Interfaces

    • Mikael Olsson
    Pages 103-107
  19. Abstract

    • Mikael Olsson
    Pages 109-112
  20. Namespaces

    • Mikael Olsson
    Pages 113-116

About this book

This quick C# 8 guide is a condensed code and syntax reference to the C# programming language, updated with the latest features of C# 8 for .NET and Windows 10. This book presents the essential C# 8 syntax in a well-organized format that can be used as a handy reference.  Specifically, it covers nullable reference types, async streams, ranges and indices, default implementations of interface members, recursive patterns, switch expressions, target-typed new-expressions, platform dependencies and more.


In the C# 8 Quick Syntax Reference, you will find a concise reference to the C# language syntax: short, simple, and focused code examples; a well laid out table of contents; and a comprehensive index allowing easy review. You won’t find any technical jargon, bloated samples, drawn-out history lessons, or witty stories. What you will find is a language reference that is to the point and highly accessible. The book is packed with useful information and is a must-have for any C# programmer.




What You Will Learn
  • Discover what's new in C# 8 and .NET for Windows 10 programming
  • Employ nullable reference types 
  • Explore the advanced async streams now available in C# 8
  • Work with ranges and indices 
  • Apply recursive patterns to your applications
  • Use switch expressions 




Who This Book Is For



Those with some experience in programming, looking for a quick, handy reference. Some C# or .NET recommended but not necessary.


Authors and Affiliations

  • HAMMARLAND, Finland

    Mikael Olsson

About the author

Mikael Olsson is a professional web entrepreneur, programmer, and author. He works for an R&D company in Finland, where he specializes in software development. In his spare time he writes books and creates websites that summarize various fields of interest. The books he writes are focused on teaching their subjects in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory. The portal to his online businesses and other websites is siforia.com.

Bibliographic Information

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access