O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C# 5.0 All-in-One For Dummies

Book Description

800+ pages of top-notch coverage; perfect for learning the fundamentals of C#!

C# is a complex programming language for building .NET-connected software for Microsoft Windows, cloud computing, the Web, and a wide range of devices. Today's developers use it to develop Azure and Windows Phone apps, and Android applications using Mono. Novice programmers can get up and running quickly on C# using this practical guide. Crammed with 800+ pages of information, this all-in-one book helps you quickly create a C# program while learning C# and object-oriented programming fundamentals, Windows and Windows phone programming, and more.

  • Helps novice programmers learn C# programming and create their first C# program

  • Explains how to create Windows applications with C# and Visual Studio

  • Delves into Windows Phone programming, as well as object-oriented programming basics

  • Covers debugging, errors, comparisons with C++ and Java, classes and arrays, variables, and more

  • Includes access to a companion website with sample code and bonus materials

Everything you need to make the move to C# programming is right here, in C# 2012 All-in-One For Dummies.

Note: The ebook version does not provide access to the companion files.

Table of Contents

  1. Cover
  2. Title Page
  3. Table of Contents
  4. Introduction
  5. Book I: The Basics of C# Programming
    1. Chapter 1: Creating Your First C# Console Application
    2. Chapter 2: Living with Variability - Declaring Value-Type Variables
    3. Chapter 3: Pulling Strings
    4. Chapter 4: Smooth Operators
    5. Chapter 5: Getting into the Program Flow
    6. Chapter 6: Lining Up Your Ducks with Collections
    7. Chapter 7: Stepping through Collections
    8. Chapter 8: Buying Generic
    9. Chapter 9: Some Exceptional Exceptions
  6. Book II: Object-Oriented C# Programming
    1. Chapter 1: Object-Oriented Programming - What's It All About?
    2. Chapter 2: Showing Some Class
    3. Chapter 3: We Have Our Methods
    4. Chapter 4: Let Me Say This about this
    5. Chapter 5: Holding a Class Responsible
    6. Chapter 6: Inheritance: Is That All I Get?
    7. Chapter 7: Poly-what-ism?
    8. Chapter 8: Interfacing with the Interface
    9. Chapter 9: Delegating Those Important Events
    10. Chapter 10: Can I Use Your Namespace in the Library?
    11. Chapter 11: Improving Productivity with Named and Optional Parameters
  7. Book III: Designing for C#
    1. Chapter 1: Writing Secure Code
    2. Chapter 2: Accessing Data
    3. Chapter 3: Fishing the FileStream
    4. Chapter 4: Accessing the Internet
    5. Chapter 5: Creating Images
    6. Chapter 6: Programming Dynamically!
    7. Chapter 7: Helping Out with Interop
  8. Book IV: A Tour of Visual Studio
    1. Chapter 1: Getting Started with Visual Studio
    2. Chapter 2: Using the Interface
    3. Chapter 3: Customizing Visual Studio
    4. Chapter 4: Transforming Text Templates
  9. Book V: Windows Development with WPF
    1. Chapter 1: Introducing WPF
    2. Chapter 2: Understanding the Basics of WPF
    3. Chapter 3: Data Binding in WPF
    4. Chapter 4: Practical WPF
  10. Book VI: Web Development with ASP.NET
    1. Chapter 1: Looking at How ASP.NET Works with C#
    2. Chapter 2: Building Web Applications
    3. Chapter 3: Controlling Your Development Experience
    4. Chapter 4: Leveraging the .NET Framework
    5. Chapter 5: Digging into Web Construction
  11. Book VII: Service-Oriented Development
    1. Chapter 1: Getting Acquainted with Web Services
    2. Chapter 2: Building Web Services with ASMX
    3. Chapter 3: Building Web Services with WCF
    4. Chapter 4: Building Web Services with REST
  12. Cheat Sheet