Head first C♯ /

This book covers C# & .NET 4.0 and Visual Studio 2010, and teaches everything from inheritance to serialization.--[book cover].

Saved in:
Bibliographic Details
Main Author: Stellman, Andrew
Other Authors: Greene, Jennifer, 1971-
Format: Electronic eBook
Language:English
Published: Beijing ; Sebastopol, CA : O'Reilly, 2010.
Edition:2nd ed.
Series:Head first series.
Subjects:
Online Access:CONNECT
Table of Contents:
  • Intro: your brain on C#
  • Get productive with C#: Visual applications, in 10 minutes or less
  • It's all just code: Under the hood
  • Objects get oriented: Making code make sense
  • Types and references: It's 10:00. Do you know where your data is?
  • Encapsulation: Keep your privates...private
  • Inheritance: Your object's family tree
  • Interfaces and abstract classes: Making classes keep their promises
  • Enums and collections: Storing lots of data
  • Reading and writing files: Save the byte array, save the world
  • Exception handling: Putting out fires gets old
  • Events and delegates: What your code does when you're not looking
  • Review and preview: Knowledge, power, and building cool stuff
  • Controls and graphics: Make it pretty
  • Captain Amazing: The death of the object
  • LINQ: Get control of your data
  • Leftovers: The top 11 things we wanted to include in this book
  • Advance Praise for Head First C#
  • Praise for other Head First books
  • How to Use this Book: Intro
  • Who is this book for?
  • Who should probably back away from this book?
  • We know what you're thinking.
  • And we know what your brain is thinking.
  • Metacognition: thinking about thinking
  • Here's what WE did:
  • Here's what YOU can do to bend your brain into submission
  • What you need for this book:
  • Read me
  • The technical review team
  • Safari® Books Online
  • 1. : Get Productive With C#: Visual Applications, in 10 Minutes or Less
  • Why you should learn C#C# and the Visual Studio IDE make lots of things easy
  • Help the CEO go paperless
  • Get to know your users' needs before you start building your program
  • Here's what you're going to build
  • What you do in Visual Studio...
  • What Visual Studio does for you...
  • Develop the user interface
  • Visual Studio, behind the scenes
  • Add to the auto-generated code
  • You can already run your application
  • Where are my files?
  • Here's what we've done so far
  • We need a database to store our information
  • The IDE created a database
  • SQL is its own language
  • Creating the table for the Contact ListThe blanks on the contact card are columns in our People table
  • Finish building the table
  • Insert your card data into the database
  • Connect your form to your database objects with a data source
  • Add database-driven controls to your form
  • Good programs are intuitive to use
  • Test drive
  • How to turn YOUR application into EVERYONE'S application
  • Give your users the application
  • You're NOT done: test your installation
  • You've built a complete data-driven application
  • 2. : It's All Just Code: Under the Hood
  • When you're doing this...
  • ...the IDE does thisWhere programs come from
  • The IDE helps you code
  • When you change things in the IDE, you're also changing your code
  • Anatomy of a program
  • Your program knows where to start
  • You can change your program's entry point
  • Two classes can be in the same namespace
  • Your programs use variables to work with data
  • C# uses familiar math symbols
  • Use the debugger to see your variables change
  • Loops perform an action over and over
  • Time to start coding
  • if/else statements make decisions
  • Set up conditions and see if they're true
  • Code Magnets
  • Csharpcross
  • Code Magnets Solution
  • 3. : Objects: Get Oriented!: Making Code Make SenseHow Mike thinks about his problems
  • How Mike's car navigation system thinks about his problems
  • Mike's Navigator class has methods to set and modify routes
  • Use what you've learned to build a program that uses a class
  • Mike gets an idea
  • Mike can use objects to solve his problem
  • You use a class to build an object
  • When you create a new object from a class, it's called an instance of that class
  • A better solution...brought to you by objects!
  • An instance uses fields to keep track of things
  • Let's create some instances!
  • Thanks for the memory.