C# 6.0 in a nutshell

When you have questions about C# 6.0 or the .NET CLR and its core Framework assemblies, this bestselling guide has the answers you need. C# has become a language of unusual flexibility and breadth since its premiere in 2000, but this continual growth means there’s still much more to learn. Organized...

Descripción completa

Detalles Bibliográficos
Otros Autores: Albahari, Joseph, author (author), Albahari, Ben, author
Formato: Libro electrónico
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly 2015.
Edición:6th ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630028206719
Tabla de Contenidos:
  • Copyright; Table of Contents; Preface; Intended Audience; How This Book Is Organized; What You Need to Use This Book; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Joseph Albahari; Ben Albahari; Chapter 1. Introducing C# and the .NET Framework; Object Orientation; Type Safety; Memory Management; Platform Support; C#'s Relationship with the CLR; The CLR and .NET Framework; C# and Windows Runtime; What's New in C# 6.0; What Was New in C# 5.0; What Was New in C# 4.0; What Was New in C# 3.0; Chapter 2. C# Language Basics
  • A First C# ProgramCompilation; Syntax; Identifiers and Keywords; Literals, Punctuators, and Operators; Comments; Type Basics; Predefined Type Examples; Custom Type Examples; Conversions; Value Types Versus Reference Types; Predefined Type Taxonomy; Numeric Types; Numeric Literals; Numeric Conversions; Arithmetic Operators; Increment and Decrement Operators; Specialized Integral Operations; 8- and 16-Bit Integrals; Special Float and Double Values; double Versus decimal; Real-Number Rounding Errors; Boolean Type and Operators; Bool Conversions; Equality and Comparison Operators
  • Conditional OperatorsStrings and Characters; Char Conversions; String Type; Arrays; Default Element Initialization; Multidimensional Arrays; Simplified Array Initialization Expressions; Bounds Checking; Variables and Parameters; The Stack and the Heap; Definite Assignment; Default Values; Parameters; var-Implicitly Typed Local Variables; Expressions and Operators; Primary Expressions; Void Expressions; Assignment Expressions; Operator Precedence and Associativity; Operator Table; Null Operators; Null-Coalescing Operator; Null-conditional operator (C# 6); Statements; Declaration Statements
  • Expression StatementsSelection Statements; Iteration Statements; Jump Statements; Miscellaneous Statements; Namespaces; The using Directive; using static (C# 6); Rules Within a Namespace; Aliasing Types and Namespaces; Advanced Namespace Features; Chapter 3. Creating Types in C#; Classes; Fields; Methods; Instance Constructors; Object Initializers; The this Reference; Properties; Indexers; Constants; Static Constructors; Static Classes; Finalizers; Partial Types and Methods; The nameof operator (C# 6); Inheritance; Polymorphism; Casting and Reference Conversions; Virtual Function Members
  • Abstract Classes and Abstract MembersHiding Inherited Members; Sealing Functions and Classes; The base Keyword; Constructors and Inheritance; Overloading and Resolution; The object Type; Boxing and Unboxing; Static and Runtime Type Checking; The GetType Method and typeof Operator; The ToString Method; Object Member Listing; Structs; Struct Construction Semantics; Access Modifiers; Examples; Friend Assemblies; Accessibility Capping; Restrictions on Access Modifiers; Interfaces; Extending an Interface; Explicit Interface Implementation; Implementing Interface Members Virtually
  • Reimplementing an Interface in a Subclass