Variable Scope The Main() Function Struct Functions Overloading Functions Using Delegates Chapter 7: Debugging and Error Handling Debugging in Visual

Similar documents
CHAPTER 1: INTRODUCING C# 3

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio

COPYRIGHTED MATERIAL INDEX. Symbols. *= operator, (at symbol), 39, 564

Dot Net Framework 4.0: Advanced Microsoft C#.NET Web Development

CHAPTER 1: INTRODUCTION TO THE IDE 3

Microsoft. Microsoft Visual C# Step by Step. John Sharp

C# Programming: From Problem Analysis to Program Design. Fourth Edition

Object-Oriented Programming in C# (VS 2015)

Object-Oriented Programming in C# (VS 2012)

DOT NET Syllabus (6 Months)

20483BC: Programming in C#

Course Syllabus C # Course Title. Who should attend? Course Description

DOT NET SYLLABUS FOR 6 MONTHS

Learning C# 3.0. Jesse Liberty and Brian MacDonald O'REILLY. Beijing Cambridge Farnham Köln Sebastopol Taipei Tokyo

Programming in C# (20483)

COURSE 20487B: DEVELOPING WINDOWS AZURE AND WEB SERVICES

Visual C# 2008 How to Program, 3/E Outline

Microsoft Visual C# Step by Step. John Sharp

CHAPTER 1 Introduction to Computers and Programming CHAPTER 2 Introduction to C++ ( Hexadecimal 0xF4 and Octal literals 031) cout Object

Advanced WCF 4.0 .NET. Web Services. Contents for.net Professionals. Learn new and stay updated. Design Patterns, OOPS Principles, WCF, WPF, MVC &LINQ

Microsoft Programming in C#

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( )

[MS20487]: Developing Windows Azure and Web Services

Module 1. An Introduction to C# Module 2. Classes and Objects. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad

Course Hours

"Charting the Course to Your Success!" MOC B Programming in C# Course Summary

Introduction. Part I: Silverlight Fundamentals for ASP.NET Developers 1

Developing Windows Azure and Web Services

Developing Microsoft Azure and Web Services. Course Code: 20487C; Duration: 5 days; Instructor-led

Introduction to Microsoft.NET Programming Using Microsoft Visual Studio 2008 (C#) Course Overview. Prerequisites. Audience.

Deitel Series Page How To Program Series

Programming in C#

This module reviews the core syntax and features of the C# programming language. It also provides an introduction to the Visual Studio 2012 debugger.

PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO Course: 10550A; Duration: 5 Days; Instructor-led

Programming in C# for Experienced Programmers

The course introduces many of the techniques and technologies employed by modern desktop and enterprise applications, including:

.Net. Course Content ASP.NET

Course Description. Audience. Module Title : 20483B: Programming in C# Duration : 5 days. Course Outline :: 20483B ::

Apex TG India Pvt. Ltd.

MS-20487: Developing Windows Azure and Web Services

Before You Begin. and Visual Basic 1

Programming in Visual Basic with Microsoft Visual Studio 2010

Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#)

CHAPTER 1: VISUAL STUDIO

The C# Programming Language. Overview

Chapters are PDF documents posted online at the book s Companion Website (located at

Windows Presentation Foundation Programming Using C#

DIPLOMA IN PROGRAMMING WITH DOT NET TECHNOLOGIES

Programming C# 5.0. Ian Griffiths O'REILLY' Beijing Cambridge * Farnham Kbln Sebastopol Tokyo

C# Programming in the.net Framework

C#.NET TRAINING / /

Microsoft Visual Studio 2010

Upgrading to Windows Server 2008

Visual Basic 2008 How to Program, 4/E Outline

Advance Dotnet ( 2 Month )

10266 Programming in C Sharp with Microsoft Visual Studio 2010

Introduction to Programming Microsoft.NET Framework Applications with Microsoft Visual Studio 2005 (C#)

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#)

Programming in C# Course: Course Details ABOUT THIS COURSE AUDIENCE PROFILE. Síguenos en:

Open Source Library Developer & IT Pro

C++ (Non for C Programmer) (BT307) 40 Hours

Contents. 1 Introduction to Computers, the Internet. Before You Begin

Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500

MCSA Universal Windows Platform. A Success Guide to Prepare- Programming in C# edusum.com

Program Contents: DOTNET TRAINING IN CHENNAI

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Programming in C# with Microsoft Visual Studio 2010

DE Developing Windows Applications with Microsoft Visual Studio 2010

DEVELOPING WINDOWS APPLICATIONS WITH MICROSOFT VISUAL STUDIO 2010

.NET, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p.

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at

Microsoft Developing Windows Azure and Web Services

Introduction to Programming Using Java (98-388)

SERVICE-ORIENTED COMPUTING

Murach s Beginning Java with Eclipse

Developing Windows Applications with Microsoft Visual Studio 2010

DOT NET COURSE BROCHURE

10267 Introduction to Web Development with Microsoft Visual Studio 2010

Absolute C++ Walter Savitch

Beginning Silverlight 5 in C #

10262A VB: Developing Windows Applications with Microsoft Visual Studio 2010

C# Syllabus. MS.NET Framework Introduction

2609 : Introduction to C# Programming with Microsoft.NET

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION

6 Months Training Module in.net Module 1-Total Days-20

ALPHAPRIMETECH 112 New South Road, Hicksville, NY 11801

Software Development & Education Center Complete.NET 4.5

Beginning ASP.NET. 4.5 in C# Matthew MacDonald

Software Development & Education Center Complete.NET 4.5

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

--Microsoft-- --Windows Phone--

"Charting the Course... MOC Programming in C# with Microsoft Visual Studio Course Summary

M Introduction to C# Programming with Microsoft.NET - 5 Day Course

Developing Microsoft Azure Solutions

P a g e 1. Danish Tecnological Institute. Developer Collection Online Course k Developer Collection

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

.NET FRAMEWORK. Visual C#.Net

Introduction to Web Development with Microsoft Visual Studio 2010

81067AE Development Environment Introduction in Microsoft

Hands On, Instructor-Led IT Courses Across Colorado

Transcription:

Table of Contents Title Page Introduction Who This Book Is For What This Book Covers How This Book Is Structured What You Need to Use This Book Conventions Source Code Errata p2p.wrox.com Part I: The OOP Language Chapter 1: Introducing C# What Is the.net Framework? What Is C#? Visual Studio 2015 Chapter 2: Writing a C# Program The Visual Studio 2015 Development Environment Console Applications Desktop Applications Chapter 3: Variables and Expressions Basic C# Syntax Basic C# Console Application Structure Variables Expressions Chapter 4: Flow Control Boolean Logic Branching Looping Chapter 5: More about Variables Type Conversion Complex Variable Types String Manipulation Chapter 6: Functions Defining and Using Functions

Variable Scope The Main() Function Struct Functions Overloading Functions Using Delegates Chapter 7: Debugging and Error Handling Debugging in Visual Studio Error Handling Chapter 8: Introduction to Object-Oriented Programming What Is Object-Oriented Programming? OOP Techniques OOP in Desktop Applications Chapter 9: Defining Classes Class Definitions in C# System.Object Constructors and Destructors OOP Tools in Visual Studio Class Library Projects Interfaces Versus Abstract Classes Struct Types Shallow Copying Versus Deep Copying Chapter 10: Defining Class Members Member Definitions Additional Class Member Topics Interface Implementation Partial Class Definitions Partial Method Definitions Example Application The Call Hierarchy Window Chapter 11: Collections, Comparisons, and Conversions Collections Comparisons Conversions Chapter 12: Generics What Are Generics?

Using Generics Defining Generic Types Variance Chapter 13: Additional C# Techniques The : : Operator and the Global Namespace Qualifier Custom Exceptions Events Expanding and Using CardLib Attributes Initializers Type Inference Anonymous Types Dynamic Lookup Advanced Method Parameters Lambda Expressions Part II: Windows Programming Chapter 14: Basic Desktop Programming XAML The Playground Control Layout The Game Client Chapter 15: Advanced Desktop Programming Creating and Styling Controls WPF User Controls Putting It All Together 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 How It Works 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 Streams Monitoring the File System Chapter 19: XML and JSON JSON Basics XML Schemas Converting XML to JSON Chapter 20: LINQ LINQ to XML LINQ Query Syntax LINQ 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 Programming Chapter 23: Universal Apps Getting Started Universal Apps App Concepts and Design App Development Common Elements of Windows Store Apps The Windows Store Appendix: Exercise Solutions Chapter 4 Solutions Chapter 5 Solutions Chapter 6 Solutions Chapter 7 Solutions Chapter 8 Solutions Chapter 9 Solutions Chapter 10 Solutions Chapter 11 Solutions Chapter 12 Solutions Chapter 13 Solutions Chapter 14 Solutions Chapter 15 Solutions Chapter 16 Solutions Chapter 17 Solutions Chapter 18 Solutions Chapter 19 Solutions Chapter 20 Solutions Chapter 21 Solutions Chapter 22 Solutions Chapter 23 Solutions End User License Agreement

List of Illustrations Chapter 1: Introducing C# Figure 1.1 Figure 1.2 Figure 1.3 Figure 1.4 Chapter 2: Writing a C# Program Figure 2.1 Figure 2.2 Figure 2.3 Figure 2.3 Figure 2.4 Figure 2.5 Figure 2.6 Figure 2.7 Figure 2.8 Figure 2.9 Figure 2.10 Figure 2.11 Figure 2.12 Figure 2.13 Chapter 3: Variables and Expressions Figure 3.1 Figure 3.2 Figure 3.3 Figure 3.4 Chapter 4: Flow Control Figure 4.1 Figure 4.2 Figure 4.3 Figure 4.4

Figure 4.5 Figure 4.6 Figure 4.7 Chapter 5: More about Variables Figure 5.1 Figure 5.2 Figure 5.3 Figure 5.4 Figure 5.5 Figure 5.6 Figure 5.7 Figure 5.8 Figure 5.9 Figure 5.10 Figure 5.11 Figure 5.12 Figure 5.13 Figure 5.14 Chapter 6: Functions Figure 6.1 Figure 6.2 Figure 6.3 Figure 6.4 Figure 6.5 Figure 6.6 Figure 6.7 Figure 6.8 Figure 6.9 Figure 6.10 Chapter 7: Debugging and Error Handling Figure 7.1

Figure 7.2 Figure 7.3 Figure 7.4 Figure 7.5 Figure 7.6 Figure 7.7 Figure 7.8 Figure 7.9 Figure 7.10 Figure 7.11 Figure 7.12 Figure 7.13 Figure 7.14 Figure 7.15 Figure 7.16 Figure 7.17 Figure 7.18 Figure 7.19 Figure 7.20 Chapter 8: Introduction to Object-Oriented Programming Figure 8.1 Figure 8.2 Figure 8.3 Figure 8.4 Figure 8.5 Figure 8.6 Figure 8.7 Figure 8.8 Figure 8.9 Figure 8.10 Figure 8.11

Figure 8.12 Figure 8.13 Figure 8.14 Figure 8.15 Chapter 9: Defining Classes Figure 9.1 Figure 9.2 Figure 9.3 Figure 9.4 Figure 9.5 Figure 9.6 Figure 9.7 Figure 9.8 Figure 9.9 Figure 9.10 Figure 9.11 Figure 9.12 Figure 9.13 Figure 9.14 Chapter 10: Defining Class Members Figure 10.1 Figure 10.2 Figure 10.3 Figure 10.4 Figure 10.5 Figure 10.6 Figure 10.7 Figure 10.8 Figure 10.9 Figure 10.10 Figure 10.11

Figure 10.12 Figure 10.13 Figure 10.14 Chapter 11: Collections, Comparisons, and Conversions Figure 11.1 Figure 11.2 Figure 11.3 Figure 11.4 Figure 11.5 Figure 11.6 Figure 11.7 Figure 11.8 Chapter 12: Generics Figure 12.1 Figure 12.2 Figure 12.3 Figure 12.4 Figure 12.5 Chapter 13: Additional C# Techniques Figure 13.1 Figure 13.2 Figure 13.3 Figure 13.4 Figure 13.5 Figure 13.6 Figure 13.7 Figure 13.8 Figure 13.9 Figure 13.10 Figure 13.11 Figure 13.12

Figure 13.13 Figure 13.14 Figure 13.15 Figure 13.16 Figure 13.17 Figure 13.18 Figure 13.19 Figure 13.20 Figure 13.21 Chapter 14: Basic Desktop Programming Figure 14.1 Figure 14.2 Figure 14.3 Figure 14.4 Figure 14.5 Figure 14.6 Figure 14.7 Figure 14.8 Figure 14.9 Figure 14.10 Figure 14.11 Figure 14.12 Chapter 15: Advanced Desktop Programming Figure 15.1 Figure 15.2 Figure 15.3 Figure 15.4 Chapter 16: Basic Cloud Programming Figure 16.1 Figure 16.2 Figure 16.3

Figure 16.4 Figure 16.5 Figure 16.6 Figure 16.7 Figure 16.8 Figure 16.9 Figure 16.10 Figure 16.11 Figure 16.12 Figure 16.13 Figure 16.14 Figure 16.15 Chapter 17: Advanced Cloud Programing and Deployment Figure 17.1 Figure 17.2 Figure 17.3 Figure 17.2 Figure 17.4 Figure 17.5 Figure 17.6 Figure 17.7 Figure 17.8 Figure 17.9 Figure 17.10 Figure 17.11 Figure 17.12 Figure 17.13 Chapter 18: Files Figure 18.1 Figure 18.2 Figure 18.3

Figure 18.4 Figure 18.5 Figure 18.6 Figure 18.7 Figure 18.8 Chapter 19: XML and JSON Figure 19.1 Figure 19.2 Figure 19.3 Figure 19.4 Figure 19.5 Figure 19.6 Figure 19.7 Figure 19.8 Chapter 21: Databases Figure 21.1 Figure 21.2 Figure 21.3 Figure 21.3 Figure 21.5 Figure 21.7 Figure 21.8 Figure 21.9 Figure 21.10 Figure 21.11 Figure 21.12 Figure 21.13 Figure 21.14 Figure 21.15 Figure 21.16 Figure 21.17

Figure 21.18 Figure 21.19 Chapter 22: Windows Communication Foundation Figure 22.1 Figure 22.2 Figure 22.3 Figure 22.4 Figure 22.5 Chapter 23: Universal Apps Figure 23.1 Figure 23.2

List of Tables Chapter 3: Variables and Expressions Table 3.1 Integer Types Table 3.2 Floating-point Types Table 3.3 Text and Boolean Types Table 3.4 Literal Values Table 3.5 Escape Sequences for String Literals Table 3.6 Simple Mathematical Operators Table 3.7 The String Concatenation Operator Table 3.8 Increment and Decrement Operators Table 3.9 Assignment Operators Table 3.10 Operator Precedence Chapter 4: Flow Control Table 4.1 Boolean Comparison Operators Table 4.2 Conditional Boolean Operators Table 4.3 Boolean Assignment Operators Table 4.4 Operator Precedence (Updated) Chapter 5: More about Variables Table 5.1 Implicit Numeric Conversions Chapter 9: Defining Classes Table 9.1 Access Modifiers for Class Definitions Table 9.2 Methods of System.Object Table 9.3 Class View Icons Table 9.4 Additional Class View Icons Chapter 12: Generics Table 12.1 Generic Collection Type Table 12.2 Sorting with Generic Types Table 12.3 Generic Type Constraints Chapter 14: Basic Desktop Programming Table 14.1 Common Control Events Table 14.2 Image Control

Table 14.3 TextBox Properties Table 14.4 CheckBox Properties Table 14.5 RadioButton Properties Table 14.6 IsReadOnly and IsEdiTable Combinations Table 14.7 Other ComboBox Properties Table 14.8 Interesting ListBox Properties Table 14.9 The Name Property Chapter 15: Advanced Desktop Programming Table 15.1 Displaying MenuItem Properties Table 15.2 The Timeline Properties Table 15.3 Properties of the Spline Key Frame Classes Table 15.4 The Register( ) Method's Parameters Table 15.5 Overloads for the FrameworkPropertyMetadata Constructor Table 15.6 Property and Field Names Table 15.7 Cards in Hand Dependency Properties Table 15.8 Game Decks Dependency Properties Chapter 18: Files Table 18.1 File System Access Classes Table 18.2 Static Methods of the File Class Table 18.3 Static Methods of the Directory Class Table 18.4 FileSystemInfo Properties Table 18.5 FileInfo Properties Table 18.6 Properties Unique to the DirectoryInfo Class Table 18.7 Stream Classes Table 18.8 FileAccess Enumeration Members Table 18.9 FileMode Enumeration Members Table 18.10 FileSystemWatcher Properties Chapter 19: XML and JSON Table 19.1 Common DOM Classes Table 19.2 XmlElement Properties Table 19.3 Three Ways to Get the Value of a Node

Table 19.4 Methods for Creating Nodes Table 19.5 Methods for Inserting Nodes Table 19.6 Methods for Removing Nodes Table 19.7 Methods for Selecting Nodes Table 19.8 Common XPath Operations Chapter 20: LINQ Table 20.1 Aggregate Operators for Numeric Results Chapter 22: Windows Communication Foundation Table 22.1 Binding Types Table 22.2 NET Default Bindings Table 22.3 DataContractAttribute Properties Table 22.4 DataMemberAttribute Properties Table 22.5 ServiceContractAttribute Properties Table 22.6 OperationContractAttribute Properties