Muutke küpsiste eelistusi

E-raamat: Beginning C# 6 Programming with Visual Studio 2015

  • Formaat: PDF+DRM
  • Ilmumisaeg: 15-Dec-2015
  • Kirjastus: John Wiley & Sons Inc
  • Keel: eng
  • ISBN-13: 9781119096566
Teised raamatud teemal:
  • Formaat - PDF+DRM
  • Hind: 37,04 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Ilmumisaeg: 15-Dec-2015
  • Kirjastus: John Wiley & Sons Inc
  • Keel: eng
  • ISBN-13: 9781119096566
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Get started with Visual C# programming with this great beginner's guide

Beginning Visual C# 2015 Programming provides step-by-step directions for programming with C# in the .NET framework. Beginning with programming essentials, such as variables, flow control, and object-oriented programming, this authoritative text moves into more complicated topics, such as web and Windows programming and data access within both database and XML environments. After your introduction to each of the chapters, you are invited to apply your newfound knowledge in Try it Out sections, which reinforce learning and help you understand the practical applications of the new concepts you have explored. Through this approach, you can write useful programming code following each of the steps that you explore in this essential text.

  • Discover the basics of programming with C#, such as variables, expressions, flow control, and functions
  • Discuss how to keep your program running smoothly through debugging and error handling
  • Understand how to navigate your way through key programming elements, such as classes, class members, collections, comparisons, and conversions
  • Explore object-oriented programming, web programming, and Windows programming

Beginning Visual C# 2015 Programming is a fundamental resource for any programmers who are new to the C# language.

Introduction xix
Part I: The OOP Language
Chapter 1 Introducing C#
3(10)
What Is the .NET Framework?
4(4)
What's in the .NET Framework?
4(1)
Writing Applications Using the .NET Framework
5(3)
What Is C#?
8(2)
Applications You Can Write with C#
9(1)
C# in this Book
10(1)
Visual Studio 2015
10(3)
Visual Studio Express 2015 Products
10(1)
Solutions
11(2)
Chapter 2 Writing A C# Program
13(16)
The Visual Studio 2015 Development Environment
14(3)
Console Applications
17(5)
The Solution Explorer
20(1)
The Properties Window
21(1)
The Error List Window
22(1)
Desktop Applications
22(7)
Chapter 3 Variables And Expressions
29(24)
Basic C# Syntax
30(3)
Basic C# Console Application Structure
33(1)
Variables
34(8)
Simple Types
34(5)
Variable Naming
39(1)
Literal Values
39(3)
Expressions
42(11)
Mathematical Operators
42(5)
Assignment Operators
47(1)
Operator Precedence
48(1)
Namespaces
49(4)
Chapter 4 Flow Control
53(24)
Boolean Logic
54(5)
Boolean Bitwise and Assignment Operators
56(2)
Operator Precedence Updated
58(1)
Branching
59(7)
The Ternary Operator
59(1)
The if Statement
59(4)
The switch Statement
63(3)
Looping
66(11)
do Loops
66(3)
while Loops
69(2)
for Loops
71(1)
Interrupting Loops
72(1)
Infinite Loops
73(4)
Chapter 5 More About Variables
77(30)
Type Conversion
78(7)
Implicit Conversions
78(2)
Explicit Conversions
80(3)
Explicit Conversions Using the Convert Commands
83(2)
Complex Variable Types
85(14)
Enumerations
85(4)
Structs
89(3)
Arrays
92(7)
String Manipulation
99(8)
Chapter 6 Functions
107(28)
Defining and Using Functions
108(11)
Return Values
110(2)
Parameters
112(7)
Variable Scope
119(6)
Variable Scope in Other Structures
122(1)
Parameters and Return Values versus Global Data
123(2)
The Main() Function
125(2)
Struct Functions
127(1)
Overloading Functions
128(2)
Using Delegates
130(5)
Chapter 7 Debugging And Error Handling
135(28)
Debugging in Visual Studio
136(17)
Debugging in Nonbreak (Normal) Mode
136(8)
Debugging in Break Mode
144(9)
Error Handling
153(10)
try...catch...finally
153(7)
Listing and Configuring Exceptions
160(3)
Chapter 8 Introduction To Object-Oriented Programming
163(24)
What Is Object-Oriented Programming?
164(6)
What Is an Object?
165(3)
Everything's an Object
168(1)
The Life Cycle of an Object
168(1)
Static and Instance Class Members
169(1)
OOP Techniques
170(10)
Interfaces
171(1)
Inheritance
172(3)
Polymorphism
175(2)
Relationships between Objects
177(2)
Operator Overloading
179(1)
Events
180(1)
Reference Types versus Value Types
180(1)
OOP in Desktop Applications
180(7)
Chapter 9 Defining Classes
187(30)
Class Definitions in C#
188(5)
Interface Definitions
190(3)
System.Object
193(2)
Constructors and Destructors
195(5)
Constructor Execution Sequence
196(4)
OOP Tools in Visual Studio
200(6)
The Class View Window
200(2)
The Object Browser
202(1)
Adding Classes
203(1)
Class Diagrams
204(2)
Class Library Projects
206(3)
Interfaces versus Abstract Classes
209(3)
Struct Types
212(2)
Shallow Copying versus Deep Copying
214(3)
Chapter 10 Defining Class Members
217(34)
Member Definitions
218(9)
Defining Fields
218(1)
Defining Methods
219(1)
Defining Properties
220(5)
Refactoring Members
225(1)
Automatic Properties
226(1)
Additional Class Member Topics
227(5)
Hiding Base Class Methods
227(2)
Calling Overridden or Hidden Base Class Methods
229(1)
Using Nested Type Definitions
230(2)
Interface Implementation
232(3)
Implementing Interfaces in Classes
233(2)
Partial Class Definitions
235(2)
Partial Method Definitions
237(1)
Example Application
238(10)
Planning the Application
238(1)
Writing the Class Library
239(7)
A Client Application for the Class Library
246(2)
The Call Hierarchy Window
248(3)
Chapter 11 Collections, Comparisons, And Conversions
251(50)
Collections
252(23)
Using Collections
253(5)
Defining Collections
258(1)
Indexers
259(3)
Adding a Cards Collection to CardLib
262(2)
Keyed Collections and 'Dictionary
264(2)
Iterators
266(4)
Iterators and Collections
270(1)
Deep Copying
271(2)
Adding Deep Copying to CardLib
273(2)
Comparisons
275(20)
Type Comparisons
275(4)
Value Comparisons
279(16)
Conversions
295(6)
Overloading Conversion Operators
295(2)
The as Operator
297(4)
Chapter 12 Generics
301(40)
What Are Generics?
302(1)
Using Generics
303(18)
Nullable Types
303(8)
The System.Collections.Generic Namespace
311(10)
Defining Generic Types
321(14)
Defining Generic Classes
322(10)
Defining Generic Interfaces
332(1)
Defining Generic Methods
333(1)
Defining Generic Delegates
334(1)
Variance
335(6)
Covariance
336(1)
Contravariance
336(5)
Chapter 13 Additional C# Techniques
341(66)
The :: Operator and the Global Namespace Qualifier
342(1)
Custom Exceptions
343(2)
Adding Custom Exceptions to CardLib
343(2)
Events
345(12)
What Is an Event?
345(2)
Handling Events
347(3)
Defining Events
350(7)
Expanding and Using CardLib
357(8)
Attributes
365(3)
Reading Attributes
366(1)
Creating Attributes
367(1)
Initializers
368(6)
Object Initializers
368(3)
Collection Initializers
371(3)
Type Inference
374(2)
Anonymous Types
376(4)
Dynamic Lookup
380(4)
The dynamic Type
381(3)
Advanced Method Parameters
384(7)
Optional Parameters
385(1)
Named Parameters
386(5)
Lambda Expressions
391(16)
Anonymous Methods Recap
391(1)
Lambda Expressions for Anonymous Methods
392(4)
Lambda Expression Parameters
396(1)
Lambda Expression Statement Bodies
396(2)
Lambda Expressions as Delegates and Expression Trees
398(1)
Lambda Expressions and Collections
399(8)
Part II: Windows Programming
Chapter 14 Basic Desktop Programming
407(54)
XAML
408(3)
Separation of Concerns
409(1)
XAML in Action
409(2)
The Playground
411(11)
WPF Controls
412(1)
Properties
413(4)
Events
417(5)
Control Layout
422(11)
Stack Order
423(1)
Alignment, Margins, Padding, and Dimensions
423(1)
Border
424(1)
Canvas
424(2)
DockPanel
426(2)
StackPanel
428(1)
WrapPanel
429(1)
Grid
430(3)
The Game Client
433(28)
The About Window
433(6)
The Options Window
439(9)
Data Binding
448(5)
Starting a Game with the ListBox Control
453(8)
Chapter 15 Advanced Desktop Programming
461(54)
The Main Window
462(4)
The Menu Control
462(1)
Routed Commands with Menus
462(4)
Creating and Styling Controls
466(12)
Styles
467(1)
Templates
467(5)
Value Converters
472(1)
Triggers
473(2)
Animations
475(3)
WPF User Controls
478(11)
Implementing Dependency Properties
478(11)
Putting It All Together
489(26)
Refactoring the Domain Model
489(5)
The View Models
494(8)
Completing the Game
502(13)
Part III: Cloud Programming
Chapter 16 Basic Cloud Programming
515(24)
The Cloud, Cloud Computing, and the Cloud Optimized Stack
516(3)
Cloud Patterns and Best Practices
519(1)
Using Microsoft Azure C# Libraries to Create a Storage Container
520(10)
Creating an ASP.NET 4.6 Web Site That Uses the Storage Container
530(9)
Chapter 17 Advanced Cloud Programing And Deployment
539(22)
Creating an ASP.NET Web API
540(4)
Deploying and Consuming an ASP.NET Web API on Microsoft Azure
544(7)
Scaling an ASP.NET Web API on Microsoft Azure
551(10)
Part IV: Data Access
Chapter 18 Files
561(32)
File Classes for Input and Output
562(5)
The File and Directory Classes
563(1)
The FileInfo Class
564(2)
The DirectoryInfo Class
566(1)
Path Names and Relative Paths
566(1)
Streams
567(17)
Classes for Using Streams
567(1)
The FileStream Object
568(7)
The StreamWriter Object
575(2)
The StreamReader Object
577(3)
Asynchronous File Access
580(1)
Reading and Writing Compressed Files
580(4)
Monitoring the File System
584(9)
Chapter 19 XML and JSON
593(24)
XML Basics
594(1)
JSON Basics
594(1)
XML Schemas
595(2)
XML Document Object Model
597(12)
The XmlDocument Class
598(1)
The XmlElement Class
598(5)
Changing the Values of Nodes
603(6)
Converting XML to JSON
609(2)
Searching XML with XPath
611(6)
Chapter 20 LINQ
617(34)
LINQ to XML
618(6)
LINQ to XML Functional Constructors
618(3)
Working with XML Fragments
621(3)
LINQ Providers
624(1)
LINQ Query Syntax
624(4)
Declaring a Variable for Results Using the var Keyword
626(1)
Specifying the Data Source: from Clause
627(1)
Specify Condition: where Clause
627(1)
Selecting Items: select Clause
627(1)
Finishing Up: Using the for each Loop
628(1)
Deferred Query Execution
628(1)
LINQ Method Syntax
628(4)
LINQ Extension Methods
629(1)
Query Syntax versus Method Syntax
629(1)
Lambda Expressions
630(2)
Ordering Query Results
632(1)
Understanding the order by Clause
633(1)
Querying a Large Data Set
634(2)
Using Aggregate Operators
636(4)
Using the Select Distinct Query
640(2)
Ordering by Multiple Levels
642(2)
Using Group Queries
644(2)
Using Joins
646(5)
Chapter 21 Databases
651(26)
Using Databases
651(1)
Installing SQL Server Express
652(1)
Entity Framework
652(1)
A Code First Database
653(7)
But Where Is My Database?
660(1)
Navigating Database Relationships
661(7)
Handling Migrations
668(1)
Creating and Querying XML from an Existing Database
669(8)
Part V: Additional Techniques
Chapter 22 Windows Communication Foundation
677(32)
What Is WCF?
678(1)
WCF Concepts
679(5)
WCF Communication Protocols
679(1)
Addresses, Endpoints, and Bindings
680(2)
Contracts
682(1)
Message Patterns
683(1)
Behaviors
683(1)
Hosting
683(1)
WCF Programming
684(25)
The WCF Test Client
690(3)
Defining WCF Service Contracts
693(7)
Self-Hosted WCF Services
700(9)
Chapter 23 Universal Apps
709(28)
Getting Started
709(1)
Universal Apps
710(1)
App Concepts and Design
711(1)
Screen Orientation
711(1)
Menus and Toolbars
711(1)
Tiles and Badges
712(1)
App Lifetime
712(1)
Lock Screen Apps
712(1)
App Development
712(20)
Adaptive Displays
713(8)
Sandboxed Apps
721(4)
Navigation between Pages
725(3)
The CommandBar Control
728(1)
Managing State
729(3)
Common Elements of Windows Store Apps
732(1)
The Windows Store
733(4)
Packaging an App
733(1)
Creating the Package
734(3)
Appendix: Exercise Solutions 737(44)
Index 781
About the authors Benjamin Perkins is Senior Support Escalation Engineer at Microsoft, and an avid C# programmer with 15 years experience in enterprise-level IT solutions. Jacob Vibe Hammer is a software engineer at Terma and co-author of a number of .NET books. Jon D. Reid is a Product Solution Manager for IFS R&D (www.ifsworld.com) where he develops in C# for the Microsoft environment.