Skip to main content
  • Book
  • © 2018

C# 7 Quick Syntax Reference

A Pocket Guide to the Language, APIs, and Library

Apress

Authors:

  • A concise reference to the C# 7.3 language syntax
  • Covers new feature like out values, ref locals and returns functions, local functions, throw expressions and numeric literals
  • Short, simple and focused code examples
  • 39k Accesses

Buy it now

Buying options

eBook USD 19.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-31
  9. Loops

    • Mikael Olsson
    Pages 33-35
  10. Methods

    • Mikael Olsson
    Pages 37-47
  11. Class

    • Mikael Olsson
    Pages 49-60
  12. Inheritance

    • Mikael Olsson
    Pages 61-66
  13. Redefining Members

    • Mikael Olsson
    Pages 67-71
  14. Access Levels

    • Mikael Olsson
    Pages 73-79
  15. Static

    • Mikael Olsson
    Pages 81-85
  16. Properties

    • Mikael Olsson
    Pages 87-91
  17. Indexers

    • Mikael Olsson
    Pages 93-96
  18. Interfaces

    • Mikael Olsson
    Pages 97-100
  19. Abstract

    • Mikael Olsson
    Pages 101-104
  20. Namespaces

    • Mikael Olsson
    Pages 105-108

About this book

This quick C# 7 guide is a condensed code and syntax reference to the C# programming language, updated with the latest features of C# 7.3 for .NET and Windows 10. It presents the essential C# 7 syntax in a well-organized format that can be used as a handy reference.



In the C# 7 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 concise, 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# 7.3 and .NET for Windows 10 programming, including out values, ref locals and returns, local functions, throw exceptions, and numeric literals
  • Create lightweight, unnamed types that contain multiple public fields
  • Create branching logic based on arbitrary types and values of the members of those types
  • Nest functions inside other functions to limit their scope and visibility
  • Throw expressions in code constructs that previously were not allowed
  • Declare methods with the async modifier to return other types in addition to Task
  • Use the new numeric literals found in C# 7.3 to improve readability for numeric constants




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 subject in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory.

Bibliographic Information

Buy it now

Buying options

eBook USD 19.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