Home > Store

Sams Teach Yourself Visual C# 2010 in 24 Hours: Complete Starter Kit, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Not for Sale

Description

  • Copyright 2010
  • Pages: 560
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-672-33170-5
  • ISBN-13: 978-0-672-33170-1

This is the Rough Cut version of the printed book.

C# has quickly established itself as one of the world's most widely used programming languages. The newest version, Visual C# 2010, includes several important new features, including Silverlight, the Entity Framework, tighter integration with version 4.0 of the .NET Framework, and full support for programming Windows 7 and Office. The proven Sams Teach Yourself method will help all newcomers to C# 2010 get up to speed quickly, no matter whether you've had experience with previous versions of Visual C# or not. You are taken step by step through the process of software development, learning elements as you build a sample application so that the material is framed in a real world approach. The accompanying DVD contains Visual C# 2010 Express Edition, and the companion Web site contains all the code and exercises from the book.

  • Step-by-step instructions carefully walk you through the most common tasks
  • Q & As, quizzes, and exercises at the end of each chapter help you test your knowledge
  • Notes and tips point out shortcuts and solutions
  • The companion DVD contains Visual C# 2010 Express Edition - everything you need to get started programming in C#
  • Sample Content

    Table of Contents

    Introduction     1

    PART I:  C# FUNDAMENTALS

    Hour 1  The .NET Framework and C#     7

    The .NET Framework     7

    The C# Language     17

    Visual Studio 2010     24

    Writing Your First Program     27

    Q&A     31

    Workshop     32

    Hour 2  Understanding C# Types     35

    Types     36

    Predefined Types     37

    Operators     47

    Default Values     53

    Null and Nullable Types     53

    Casting and Conversion     55

    Q&A     59

    Workshop     60

    Hour 3  Understanding Classes and Objects the C# Way 63

    Object-Oriented Programming     64

    Component-Oriented Programming     65

    Classes in C#     65

    Scope and Declaration Space 66

    Nested Classes     85

    Partial Classes     86

    Static Classes     86

    Object Initializers     88

    Q&A     89

    Workshop     90

    Hour 4  Inheritance, Interfaces, and Abstract Classes      93

    Inheritance and Polymorphism     93

    Abstract Classes and Members     103

    Interfaces     105

    Q&A     109

    Workshop     111

    Hour 5  Creating Enumerated Types and Structures     113

    Enumerated Types     114

    Structures     119

    Q&A     127

    Workshop     127

    Hour 6  Events and Event Handling     131

    Understanding Events     132

    Subscribing and Unsubscribing     132

    Publishing an Event     136

    Raising an Event     139

    Q&A     141

    Workshop     142

    PART II:  PROGRAMMING IN C#

    Hour 7  Controlling Program Flow     147

    Selection Statements     148

    Iteration Statements     153

    Jump Statements     159

    Updates

    Submit Errata

    More Information