Table of Contents

Introduction

Part I: C# Fundamentals

Hour 1: The .NET Framework and C#

The .NET Framework

The C# Language

Summary

Q&A

Workshop

Exercises

Hour 2: Introducing Visual Studio

Introducing the Visual Studio Editions

Writing Your First Program

Debugging in Visual Studio

Visualizing Data

Commenting Your Code

Summary

Q&A

Workshop

Exercises

Hour 3: Understanding C# Types

An Overview of Types

The C# Predefined Types

Other Commonly Used Types

Working with Operators

Default Values

Null and Nullable Types

Casting and Conversion

Summary

Q&A

Workshop

Exercises

Hour 4: Understanding Classes and Objects the C# Way

Object-Oriented Programming

Component-Oriented Programming

Classes in C#

Scope and Declaration Space

Nested Classes

Partial Classes

Static Classes

Object Initializers

Summary

Q&A

Workshop

Exercises

Hour 5: Inheritance, Interfaces, and Abstract Classes

Inheritance and Polymorphism

Abstract Classes and Members

Working with Interfaces

Summary

Q&A

Workshop

Exercises

Hour 6: Creating Enumerated Types and Structures

Enumerated Types

Working with Structures

Summary

Q&A

Workshop

Exercises

Hour 7: Events and Event Handling

Understanding Events

Subscribing and Unsubscribing

Publishing an Event

Raising an Event

Summary

Q&A

Workshop

Exercises

Part II: Programming in C#

Hour 8: Controlling Program Flow

Understanding the Selection Statements

Iteration Statements

Jump Statements

Summary

Q&A

Workshop

Exercises

Hour 9: Using Strings and Regular Expressions

Strings

Mutable Strings Using StringBuilder

Type Formatting

Regular Expressions

Summary

Q&A

Workshop

Exercises

Hour 10: Working with Arrays and Collections

Single and Multidimensional Arrays

Indexers

Generic Collections

Collection Initializers

Collection Interfaces

Enumerable Objects and Iterators

Summary

Q&A

Workshop

Exercises

Hour 11: Handling Errors Using Exceptions

Understanding Exceptions

System.Exception

Throwing Exceptions

Handling Exceptions

Rethrowing Caught Exceptions

Overflow and Integer Arithmetic

Exceptions, Code Contracts, and Parameter Validation

Summary

Q&A

Workshop

Exercises

Hour 12: Understanding Generics

Why You Should Use Generics

Using Generic Methods

Creating Generic Classes

Combining Generics and Arrays

Variance in Generic Interfaces

Working with Tuples

Summary

Q&A

Workshop

Exercises

Hour 13: Understanding Query Expressions

Introducing LINQ

Using LINQ to Manipulate Data

Standard Query Operator Methods

Deferred Execution

Summary

Q&A

Workshop

Exercises

Part III: Working with Data

Hour 14: Using Files and Streams

Files and Directories

Reading and Writing Data

Summary

Q&A

Workshop

Exercises

Hour 15: Working with XML

Understanding the XML DOM

Using LINQ to XML

Selecting and Querying XML

Modifying XML

Summary

Q&A

Workshop

Exercises

Hour 16: Working with Databases

Prerequisites

Understanding ADO.NET

Understanding LINQ to ADO.NET

Summary

Q&A

Workshop

Exercises

Part IV: Building an Application Using Visual Studio

Hour 17: Building a Windows Application

Understanding WPF

Creating a WPF Application

Styling the Layout

Summary

Q&A

Workshop

Exercises

Hour 18: Using Data Binding and Validation

Understanding Data Binding

Converting Data

Validating Data

Working with Data Templates

Summary

Q&A

Workshop

Exercises

Hour 19: Building Windows Store Apps

Understanding the Windows Runtime

What’s a Windows Store App?

Working Asynchronously

Building an App

Summary

Q&A

Workshop

Exercises

Hour 20: Building a Web Application

Understanding Web Application Architecture

Working with ASP.NET

Creating a Web Application

Understanding Data Validation

Summary

Q&A

Workshop

Exercises

Part V: Diving Deeper

Hour 21: Programming with Attributes

Understanding Attributes

Using the Caller Info Attributes

Working with the Common Attributes

Using Custom Attributes

Accessing Attributes at Runtime

Summary

Q&A

Workshop

Exercises

Hour 22: Dynamic Types and Language Interoperability

Using Dynamic Types

Understanding the DLR

Interoperating with COM

Reflection Interoperability

Summary

Q&A

Workshop

Exercises

Hour 23: Memory Organization and Garbage Collection

Memory Organization

Garbage Collection

Understanding the IDisposable Interface

Using the Dispose Pattern

Declaring and Using Finalizers

Summary

Q&A

Workshop

Exercises

Hour 24: Understanding Threads, Concurrency, and Parallelism

Understanding Threads and Threading

Concurrency and Synchronization

Understanding the Task Parallel Library

Working with Parallel LINQ (PLINQ)

Potential Pitfalls

Summary

Q&A

Workshop

Exercises

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.28.108