My Account Log in

2 options

Beginning visual C# 2015 programming / Benjamin Perkins, Jacob Vibe Hammer, Jon D. Reid.

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Perkins, Benjamin, author.
Language:
English
Subjects (All):
C# (Computer program language).
Object-oriented programming (Computer science).
Physical Description:
1 online resource (842 p.)
Edition:
1st ed.
Place of Publication:
Indianapolis, Indiana : Wrox, 2015.
Language Note:
English
Summary:
Get started with Visual C# programming with this great beginner's guide Beginning C# 6 Programming with Visual Studio 2015 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 C# 6 Programming with Visual Studio 2015 is a fundamental resource for any programmers who are new to the C# language.
Contents:
Cover
Title Page
Copyright
Contents
Introduction
Part I: The OOP Language
Chapter 1: Introducing C#
What Is the .NET Framework?
What's in the .NET Framework?
Writing Applications Using the .NET Framework
What Is C#?
Applications You Can Write with C#
C# in this Book
Visual Studio 2015
Visual Studio Express 2015 Products
Solutions
Chapter 2: Writing a C# Program
The Visual Studio 2015 Development Environment
Console Applications
The Solution Explorer
The Properties Window
The Error List Window
Desktop Applications
Chapter 3: Variables and Expressions
Basic C# Syntax
Basic C# Console Application Structure
Variables
Simple Types
Variable Naming
Literal Values
Expressions
Mathematical Operators
Assignment Operators
Operator Precedence
Namespaces
Chapter 4: Flow Control
Boolean Logic
Boolean Bitwise and Assignment Operators
Operator Precedence Updated
Branching
The Ternary Operator
The if Statement
The switch Statement
Looping
do Loops
while Loops
for Loops
Interrupting Loops
Infinite Loops
Chapter 5: More about Variables
Type Conversion
Implicit Conversions
Explicit Conversions
Explicit Conversions Using the Convert Commands
Complex Variable Types
Enumerations
Structs
Arrays
String Manipulation
Chapter 6: Functions
Defining and Using Functions
Return Values
Parameters
Variable Scope
Variable Scope in Other Structures
Parameters and Return Values versus Global Data
The Main() Function
Struct Functions
Overloading Functions
Using Delegates
Chapter 7: Debugging and Error Handling
Debugging in Visual Studio
Debugging in Nonbreak (Normal) Mode
Debugging in Break Mode
Error Handling
try…catch…finally.
Listing and Configuring Exceptions
Chapter 8: Introduction to Object-Oriented Programming
What Is Object-Oriented Programming?
What Is an Object?
Everything's an Object
The Life Cycle of an Object
Static and Instance Class Members
OOP Techniques
Interfaces
Inheritance
Polymorphism
Relationships between Objects
Operator Overloading
Events
Reference Types versus Value Types
OOP in Desktop Applications
Chapter 9: Defining Classes
Class Definitions in C#
Interface Definitions
System.Object
Constructors and Destructors
Constructor Execution Sequence
OOP Tools in Visual Studio
The Class View Window
The Object Browser
Adding Classes
Class Diagrams
Class Library Projects
Interfaces versus Abstract Classes
Struct Types
Shallow Copying versus Deep Copying
Chapter 10: Defining Class Members
Member Definitions
Defining Fields
Defining Methods
Defining Properties
Refactoring Members
Automatic Properties
Additional Class Member Topics
Hiding Base Class Methods
Calling Overridden or Hidden Base Class Methods
Using Nested Type Definitions
Interface Implementation
Implementing Interfaces in Classes
Partial Class Definitions
Partial Method Definitions
Example Application
Planning the Application
Writing the Class Library
A Client Application for the Class Library
The Call Hierarchy Window
Chapter 11: Collections, Comparisons, and Conversions
Collections
Using Collections
Defining Collections
Indexers
Adding a Cards Collection to CardLib
Keyed Collections and IDictionary
Iterators
Iterators and Collections
Deep Copying
Adding Deep Copying to CardLib
Comparisons
Type Comparisons
Value Comparisons
Conversions
Overloading Conversion Operators
The as Operator.
Chapter 12: Generics
What Are Generics?
Using Generics
Nullable Types
The System.Collections.Generic Namespace
Defining Generic Types
Defining Generic Classes
Defining Generic Interfaces
Defining Generic Methods
Defining Generic Delegates
Variance
Covariance
Contravariance
Chapter 13: Additional C# Techniques
The : : Operator and the Global Namespace Qualifier
Custom Exceptions
Adding Custom Exceptions to CardLib
What Is an Event?
Handling Events
Defining Events
Expanding and Using CardLib
Attributes
Reading Attributes
Creating Attributes
Initializers
Object Initializers
Collection Initializers
Type Inference
Anonymous Types
Dynamic Lookup
The dynamic Type
Advanced Method Parameters
Optional Parameters
Named Parameters
Lambda Expressions
Anonymous Methods Recap
Lambda Expressions for Anonymous Methods
Lambda Expression Parameters
Lambda Expression Statement Bodies
Lambda Expressions as Delegates and Expression Trees
Lambda Expressions and Collections
Part II: Windows Programming
Chapter 14: Basic Desktop Programming
XAML
Separation of Concerns
XAML in Action
The Playground
WPF Controls
Properties
Control Layout
Stack Order
Alignment, Margins, Padding, and Dimensions
Border
Canvas
DockPanel
StackPanel
WrapPanel
Grid
The Game Client
The About Window
The Options Window
Data Binding
Starting a Game with the ListBox Control
Chapter 15: Advanced Desktop Programming
The Main Window
The Menu Control
Routed Commands with Menus
Creating and Styling Controls
Styles
Templates
Value Converters
Triggers
Animations
WPF User Controls
Implementing Dependency Properties
Putting It All Together
Refactoring the Domain Model.
The View Models
Completing the Game
Part III: Cloud Programming
Chapter 16: Basic Cloud Programming
The Cloud, Cloud Computing, and the Cloud Optimized Stack
Cloud Patterns and Best Practices
Using Microsoft Azure C# Libraries to Create a Storage Container
Creating an ASP.NET 4.6 Web Site That Uses the Storage Container
Chapter 17: Advanced Cloud Programing and Deployment
Creating an ASP.NET Web API
Deploying and Consuming an ASP.NET Web API on Microsoft Azure
Scaling an ASP.NET Web API on Microsoft Azure
Part IV: Data Access
Chapter 18: Files
File Classes for Input and Output
The File and Directory Classes
The FileInfo Class
The DirectoryInfo Class
Path Names and Relative Paths
Streams
Classes for Using Streams
The FileStream Object
The StreamWriter Object
The StreamReader Object
Asynchronous File Access
Reading and Writing Compressed Files
Monitoring the File System
Chapter 19: XML and JSON
XML Basics
JSON Basics
XML Schemas
XML Document Object Model
The XmlDocument Class
The XmlElement Class
Changing the Values of Nodes
Converting XML to JSON
Searching XML with XPath
Chapter 20: LINQ
LINQ to XML
LINQ to XML Functional Constructors
Working with XML Fragments
LINQ Providers
LINQ Query Syntax
Declaring a Variable for Results Using the var Keyword
Specifying the Data Source: from Clause
Specify Condition: where Clause
Selecting Items: select Clause
Finishing Up: Using the foreach Loop
Deferred Query Execution
LINQ Method Syntax
LINQ Extension Methods
Query Syntax versus Method Syntax
Ordering Query Results
Understanding the orderby Clause
Querying a Large Data Set
Using Aggregate Operators
Using the Select Distinct Query
Ordering by Multiple Levels.
Using Group Queries
Using Joins
Chapter 21: Databases
Using Databases
Installing SQL Server Express
Entity Framework
A Code First Database
But Where Is My Database?
Navigating Database Relationships
Handling Migrations
Creating and Querying XML from an Existing Database
Part V: Additional Techniques
Chapter 22: Windows Communication Foundation
What Is WCF?
WCF Concepts
WCF Communication Protocols
Addresses, Endpoints, and Bindings
Contracts
Message Patterns
Behaviors
Hosting
WCF Programming
The WCF Test Client
Defining WCF Service Contracts
Self-Hosted WCF Services
Chapter 23: Universal Apps
Getting Started
Universal Apps
App Concepts and Design
Screen Orientation
Menus and Toolbars
Tiles and Badges
App Lifetime
Lock Screen Apps
App Development
Adaptive Displays
Sandboxed Apps
Navigation between Pages
The CommandBar Control
Managing State
Common Elements of Windows Store Apps
The Windows Store
Packaging an App
Creating the Package
Appendix: Exercise Solutions
Index
EULA.
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed February 17, 2016).
ISBN:
1-119-09656-1
OCLC:
935251491

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account