1.

Record Nr.

UNINA9910438099203321

Autore

Olsson Mikael

Titolo

C# quick syntax reference / / Mikael Olsson

Pubbl/distr/stampa

New York : , : Apress, , 2013

ISBN

1-4302-6281-8

Edizione

[1st ed. 2013.]

Descrizione fisica

1 online resource (xix, 119 pages)

Collana

Gale eBooks

Disciplina

004

Soggetti

C# (Computer program language)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewer""; ""Introduction""; ""Chapter 1: Hello World""; ""Choosing an IDE""; ""Creating a project""; ""Hello World""; ""IntelliSense""; ""Chapter 2: Compile and Run""; ""Visual Studio compilation""; ""Console compilation""; ""Comments""; ""Chapter 3: Variables""; ""Data types""; ""Declaration""; ""Assignment""; ""Integer types""; ""Floating-point types""; ""Char type""; ""Bool type""; ""Variable scope""; ""Chapter 4: Operators""; ""Arithmetic operators""; ""Assignment operators""

""Combined assignment operators""""Increment and decrement operators""; ""Comparison operators""; ""Logical operators""; ""Bitwise operators""; ""Operator precedents""; ""Chapter 5: String""; ""String concatenation""; ""Escape characters""; ""String compare""; ""String members""; ""StringBuilder class""; ""Chapter 6: Arrays""; ""Array declaration""; ""Array allocation""; ""Array assignment""; ""Array access""; ""Rectangular arrays""; ""Jagged arrays""; ""Chapter 7: Conditionals""; ""If statement""; ""Switch statement""; ""Goto statement""; ""Ternary operator""; ""Chapter 8: Loops""

""While loop""""Do-while loop""; ""For loop""; ""Foreach loop""; ""Break and continue""; ""Chapter 9: Methods""; ""Defining methods""; ""Calling methods""; ""Method parameters""; ""Params keyword""; ""Method overloading""; ""Optional parameters""; ""Named arguments""; ""Return statement""; ""Value and reference types""; ""Pass by value""; ""Pass by reference""; ""Ref keyword""; ""Out keyword""; ""Chapter 10: Class""; ""Object creation""; ""Accessing object members""; ""Constructor"";



""This keyword""; ""Constructor overloading""; ""Constructor chaining""; ""Initial field values""

""Default constructor""""Object initializers""; ""Partial class""; ""Garbage collector""; ""Destructor""; ""Null keyword""; ""Nullable types""; ""Null-coalescing operator""; ""Default values""; ""Chapter 11: Inheritance""; ""Object class""; ""Downcast and upcast""; ""Is keyword""; ""As keyword""; ""Boxing""; ""Unboxing""; ""Chapter 12: Redefining Members""; ""Hiding members""; ""Overriding members""; ""Hiding and overriding""; ""Sealed keyword""; ""Base keyword""; ""Chapter 13: Access Levels""; ""Private access""; ""Protected access""; ""Internal access""; ""Protected internal access""

""Public access""""Top-level access levels""; ""Inner classes""; ""Access level guideline""; ""Chapter 14: Static""; ""Accessing static members""; ""Static methods""; ""Static fields""; ""Static classes""; ""Static constructor""; ""Extension methods""; ""Chapter 15: Properties""; ""Auto-implemented properties""; ""Property advantages""; ""Read-only and write-only properties""; ""Property access levels""; ""Chapter 16: Indexers""; ""Indexer parameters""; ""Indexer overloading""; ""Chapter 17: Interface""; ""Interface signatures""; ""Interface example""; ""Functionality interface""

""Class interface""

Sommario/riassunto

The C# Quick Syntax Reference is a condensed code and syntax reference to the C# programming language. It presents the essential C# syntax in a well-organized format that can be used as a handy reference. You won’t find any technical jargon, bloated samples, drawn out history lessons or witty stories in this book. 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. In the C# 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.  .