1.

Record Nr.

UNINA9910300756903321

Autore

Olsson Mikael

Titolo

C# 7 Quick Syntax Reference : A Pocket Guide to the Language, APIs, and Library / / by Mikael Olsson

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2018

ISBN

1-4842-3817-6

Edizione

[2nd ed. 2018.]

Descrizione fisica

1 online resource (178 pages)

Disciplina

006.76

Soggetti

Microsoft software

Microsoft .NET Framework

Programming languages (Electronic computers)

Computer programming

Microsoft and .NET

Programming Languages, Compilers, Interpreters

Programming Techniques

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Previous edition published: 2013.

Nota di bibliografia

Includes bibliographical references.

Nota di contenuto

1. Hello World -- 2. Compile and Run -- 3. Variables -- 4. Operators -- 5. String -- 6. Arrays -- 7. Conditionals -- 8. Loops -- 9. Methods -- 10. Class -- 11. Inheritance -- 12. Redefining Members -- 13. Access Levels -- 14. Static -- 15. Properties -- 16. Indexers -- 17. Interface -- 18. Abstract -- 19. Namespaces -- 20. Enum -- 21. Exception Handling -- 22. Operator Overloading -- 23. Custom Conversions -- 24. Struct -- 25. Preprocessor -- 26. Delegates -- 27. Events -- 28. Generics -- 29. Constants -- 30. Asynchronous methods.

Sommario/riassunto

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. You will: 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.