SØG - mellem flere end 8 millioner bøger:

Søg på: Titel, forfatter, forlag - gerne i kombination.
Eller blot på isbn, hvis du kender dette.

Viser: Microsoft Visual C# Step by Step

Microsoft Visual C# Step by Step, 8. udgave

Microsoft Visual C# Step by Step

John Sharp
(2015)
Sprog: Engelsk
Microsoft Press
442,00 kr.
ikke på lager, Bestil nu og få den leveret
om ca. 8 hverdage

Detaljer om varen

  • 8. Udgave
  • Paperback: 816 sider
  • Udgiver: Microsoft Press (Oktober 2015)
  • ISBN: 9781509301041
Your hands-on guide to Microsoft Visual C# fundamentals with Visual Studio 2015
Expand your expertise--and teach yourself the fundamentals of programming with the latest version of Visual C# with Visual Studio 2015. If you are an experienced software developer, you'll get all the guidance, exercises, and code you need to start building responsive, scalable Windows 10 and Universal Windows Platform applications with Visual C#.

Discover how to:
  • Quickly start creating Visual C# code and projects with Visual Studio 2015
  • Work with variables, operators, expressions, and methods
  • Control program flow with decision and iteration statements
  • Build more robust apps with error, exception, and resource management
  • Master the essentials of Visual C# object-oriented programming
  • Use enumerations, structures, generics, collections, indexers, and other advanced features
  • Create in-memory data queries with LINQ query expressions
  • Improve application throughput and response time with asynchronous methods
  • Decouple application logic and event handling
  • Streamline development with new app templates
  • Implement the Model-View-ViewModel (MVVM) pattern
  • Build Universal Windows Platform apps that smoothly adapt to PCs, tablets, and Windows phones
  • Integrate Microsoft Azure cloud databases and RESTful web services
About You
  • For software developers who are new to Visual C# or who are upgrading from older versions
  • Readers should have experience with at least one programming language
  • No prior Microsoft .NET or Visual Studio development experience required
Introduction
xix

PART I: INTRODUCING MICROSOFT VISUAL C# AND MICROSOFT VISUAL STUDIO 2015
Chapter 1: Welcome to C# 3 Beginning programming with the Visual Studio 2015 environment 3 Writing your first program 8 Using namespaces 14 Creating a graphical application 17 Examining the Universal Windows Platform app 26 Adding code to the graphical application 29 Summary 32 Quick Reference 32
Chapter 2: Working with variables, operators, and expressions 33 Understanding statements 33 Using identifiers 34 Identifying keywords 34 Using variables 36 Naming variables 36 Declaring variables 37 Working with primitive data types 37 Unassigned local variables 38 Displaying primitive data type values 38 Using arithmetic operators 45 Operators and types 45 Examining arithmetic operators 47 Controlling precedence 52 Using associativity to evaluate expressions 53 Associativity and the assignment operator 53 Incrementing and decrementing variables 54 Prefix and postfix 55 Declaring implicitly typed local variables 56 Summary 57 Quick Reference 58
Chapter 3: Writing methods and applying scope 59 Creating methods 59 Declaring a method 60 Returning data from a method 61 Using expression-bodied methods 62 Calling methods 63 Applying scope 66 Defining local scope 66 Defining class scope 67 Overloading methods 68 Writing methods 68 Using optional parameters and named arguments 77 Defining optional parameters 79 Passing named arguments 79 Resolving ambiguities with optional parameters and named arguments 80 Summary 85 Quick reference 86
Chapter 4: Using decision statements 87 Declaring Boolean variables 87 Using Boolean operators 88 Understanding equality and relational operators 88 Understanding conditional logical operators 89 Short circuiting 90 Summarizing operator precedence and associativity 90 Using if statements to make decisions 91 Understanding if statement syntax 91 Using blocks to group statements 93 Cascading if statements 94 Using switch statements 99 Understanding switch statement syntax 100 Following the switch statement rules 101 Summary 104 Quick reference 105
Chapter 5: Using compound assignment and iteration statements 107 Using compound assignment operators 107 Writing while statements 108 Writing for statements 114 Understanding for statement scope 115 Writing do statements 116 Summary 125 Quick reference 125
Chapter 6: Managing errors and exceptions 127 Coping with errors 127 Trying code and catching exceptions 128 Unhandled exceptions 129 Using multiple catch handlers 130 Catching multiple exceptions 131 Propagating exceptions 136 Using checked and unchecked integer arithmetic 138 Writing checked statements 139 Writing checked expressions 140 Throwing exceptions 143 Using a finally block 148 Summary 149 Quick reference 150

PART II: UNDERSTANDING THE C# OBJECT MODEL
Chapter 7: Creating and managing classes and objects 153 Understanding classification 153 The purpose of encapsulation 154 Defining and using a class 154 Controlling accessibility 156 Working with constructors 157 Overloading constructors 158 Understanding static methods and data 167 Creating a shared field 168 Creating a static field by using the const keyword 169 Understanding static classes 169 Static using statements 170 Anonymous classes 172 Summary 174 Quick reference 174
Chapter 8: Understanding values and references 177 Copying value type variables and classes 177 Understanding null values and nullable types 183 Using nullable types 185 Understanding the properties of nullable types 186 Using ref and out parameters 187 Creating ref parameters 188 Creating out parameters 188 How computer memory is organized 190 Using the stack and the heap 192 The System. Object class 193 Boxing 194 Unboxing 194 Casting data safely 196 The is operator 196 The as operator 197 Summary 199 Quick reference 199
Chapter 9: Creating value types with enumerations and structures 201 Working with enumerations 201 Declaring an enumeration 202 Using an enumeration 202 Choosing enumeration literal values 203 Choosing an enumeration''s underlying type 204 Working with structures 206 Declaring a structure 208 Understanding differences between structures and classes 209 Declaring structure variables 210 Understanding structure initialization 211 Copying structure variables 215 Summary 219 Quick reference 219
Chapter 10: Using arrays 221 Declaring and creating an array 221 Declaring array variables 221 Creating an array instance 222 Populating and using an array 223 Creating an implicitly typed array 224 Accessing an individual array element 225 Iterating through an array 225 Passing arrays as parameters and return values for a method 227 Copying arrays 228 Using multidimensional arrays 230 Creating jagged arrays 231 Summary 241 Quick reference 242
Chapter 11: Understanding parameter arrays 243 Overloading--a recap 243 Using array arguments 244 Declaring a params array 245 Using params object[ ] 247 Using a params array 249 Comparing parameter arrays and optional parameters 252 Summary 254 Quick reference 254
Chapter 12: Working with inheritance 255 What is inheritance? 255 Using inheritance &nbs
De oplyste priser er inkl. moms

Polyteknisk Boghandel

har gennem mere end 50 år været studieboghandlen på DTU og en af Danmarks førende specialister i faglitteratur.

 

Vi lagerfører et bredt udvalg af bøger, ikke bare inden for videnskab og teknik, men også f.eks. ledelse, IT og meget andet.

Læs mere her


Trykt eller digital bog?

Ud over trykte bøger tilbyder vi tre forskellige typer af digitale bøger:

 

Vital Source Bookshelf: En velfungerende ebogsplatform, hvor bogen downloades til din computer og/eller mobile enhed.

 

Du skal bruge den gratis Bookshelf software til at læse læse bøgerne - der er indbygget gode værktøjer til f.eks. søgning, overstregning, notetagning mv. I langt de fleste tilfælde vil du samtidig have en sideløbende 1825 dages online adgang. Læs mere om Vital Source bøger

 

Levering: I forbindelse med købet opretter du et login. Når du har installeret Bookshelf softwaren, logger du blot ind og din bog downloades automatisk.

 

 

Adobe ebog: Dette er Adobe DRM ebøger som downloades til din lokale computer eller mobil enhed.

 

For at læse bøgerne kræves særlig software, som understøtter denne type. Softwaren er gratis, men du bør sikre at du har rettigheder til installere software på den maskine du påtænker at anvende den på. Læs mere om Adobe DRM bøger

 

Levering: Et download link sendes pr email umiddelbart efter købet.

 


Ibog: Dette er en online bog som kan læses på udgiverens website. 

Der kræves ikke særlig software, bogen læses i en almindelig browser.

 

Levering: Vores medarbejder sender dig en adgangsnøgle pr email.

 

Vi gør opmærksom på at der ikke er retur/fortrydelsesret på digitale varer.