BN.com Gift Guide

Sams Teach Yourself C# in 21 Days

Overview

This book will take you, step by step, through learning C#, the computer industry's newest and most productive language. This complete guide covers topics from basic program construction to intermediate level application engineering. Following "21 days" formula, this book is a three week intensive course for the beginning programmer who wishes to get started with this exiting new coding standard. The comprehensive lesson plan will enable the reader to understand, design and build applications that are compatible ...

See more details below
Other sellers (Paperback)
  • All (10) from $1.99   
  • New (4) from $23.94   
  • Used (6) from $1.99   
Sending request ...

Overview

This book will take you, step by step, through learning C#, the computer industry's newest and most productive language. This complete guide covers topics from basic program construction to intermediate level application engineering. Following "21 days" formula, this book is a three week intensive course for the beginning programmer who wishes to get started with this exiting new coding standard. The comprehensive lesson plan will enable the reader to understand, design and build applications that are compatible with the new Microsoft .net framework.

Read More Show Less

Editorial Reviews

Library Journal
NET and one of its programming languages, C#, are slowly becoming more popular. Learn To Program teaches C# to beginners with no programming experience, moving through the process of developing a real-world application as a class project. From ascertaining user needs through auditing results, it demonstrates application development. In Chapter 1, the author shows how to design and build on familiar concepts rather than jump into coding basic programs. Allowing readers to simulate the classroom experience and learn more naturally, Learn To Program is recommended where C and C++ titles circulate. Teach Yourself is a more traditional self-study guide for beginners with some programming experience. It opens with a description of C#'s attributes and a demonstration of writing and compiling a basic "Hello, World!" program, before building up to more advanced topics. Chapter Q&As, quizzes, and exercises and weekly reviews aid understanding, and useful appendixes contain keywords, command-line compiler flags, and number systems. For medium and larger libraries. More thoroughly serving intermediate programmers, Complete Reference is the only one of these three to ask readers to purchase Visual Studio .NET. Appendixes address XML comments and robotics, and example source code is available online. For larger libraries. Copyright 2002 Cahners Business Information.
Read More Show Less

Product Details

  • ISBN-13: 9780672320712
  • Publisher: Sams
  • Publication date: 10/28/2001
  • Series: Sams Teach Yourself Series
  • Edition number: 1
  • Pages: 749
  • Product dimensions: 7.40 (w) x 9.00 (h) x 1.70 (d)

Meet the Author

Bradley L. Jones is the site manager for a number of high-profile developer sites¿including CodeGuru.com, Developer.com, and Javascripts.com¿and an executive editor of internet.com's EarthWeb channel. Bradley has been working with C# longer than most developers, because he was invited to Microsoft prior to the official beta release. Bradley's background includes experience developing in C, C++, PowerBuilder, SQL Server, and numerous other tools and technologies. Additionally, he is an internationally best-selling author who wrote the original 21 Days book: Sams Teach Yourself C in 21 Days.

Read More Show Less

Table of Contents

(NOTE: Each chapter concludes with a Summary, Q&A, and Workshop.)

Introduction.

WEEK 1. AT A GLANCE.

Day 1. Getting Started with C#.

What Is C#? Why C#? C# Versus Other Programming Languages. Preparing to Program. The Program Development Cycle. Your First C# Program. Types of C# Programs.

Day 2. Understanding C# Programs.

C# Applications. Basic Parts of a C# Application. Structure of a C# Application. Analysis of Listing 2.1. Object-Oriented Programming (OOP). Displaying Basic Information.

Day 3. Storing Information with Variables.

Variables. Using Variables. Understanding Your Computer's Memory. C# Data Types. Numeric Variable Types. Literals Versus Variables. Constants. Reference Types.

Day 4. Working with Operators.

Types of Operators. Punctuators. The Basic Assignment Operator. Mathematical/Arithmetic Operators. Relational Operators. Logical Bitwise Operators. Type Operators. The sizeof Operator. The Conditional Operator. Understanding Operator Precedence. Converting Data Types. Understanding Operator Promotion. For Those Brave Enough.

Day 5. Control Statements.

Controlling Program Flow. Using Selection Statements. Using Iteration Statements. Using goto. Nesting Flow.

Day 6. Classes.

Object-Oriented Programming Revisited. Defining a Class. Class Declarations. Data Members, aka Fields. Static Variables. The Application Class. Properties. A First Look at Namespaces.

Day 7. Class Methods and Member Functions.

Getting Started with Methods. Using Methods. Program Flow with Methods. Format of a Method. Passing Values to Methods. Types of Class methods.

Week 1. In Review.

The WR01.cs Program

WEEK 2. AT A GLANCE.

Day 8. Advanced Data Storage: Structures, Enumerators, and Arrays.

Structures. Enumerators. Using Arrays to Store Data.

Day 9. Advanced Method Access.

Overloading Methods. Using a Variable Number of Parameters. Scope. Classes with No Objects. Namespaces Revisited.

Day 10. Handling Exceptions.

The Concept of Handling Problems. Exception Handling. Adding Finality with finally. Common Exceptions. Defining Your Own Exception Classes. Throwing Your Own Exceptions. checked Versus unchecked Statements.

Day 11. Inheritance.

The Basics of Inheritance. Polymorphism and Inherited Classes. Virtual Methods. Working with Abstract Classes. Sealing Classes. The Ultimate Base Class: Object. Using the is and as Keywords with Classes—Class Conversions. Arrays of Different Object Types.

Day 12. Better Input and Output.

Understanding Console Input and Output. Formatting Information. Working Closer with Strings. Getting Information from the Console.

Day 13. Interfaces.

Interfaces—A First Look. Defining Interfaces. Using Multiple Interfaces. Explicit Interface Members. Deriving New Interfaces from Existing Ones. Hiding Interface Members.

Day 14. Indexers, Delegates, and Events.

Using an Indexer. Exploring Delegates. Working with Events. Creating Events.

Week 2. In Review.

Enumerations for the Cards. A card Type. A deck Class. The Card Game. Looking at the Entire Deck.

WEEK 3. AT A GLANCE.

Day 15. Using the .NET Bases Classes.

Classes in the .NET Framework. Working with a Timer. Getting Directory and System Environment Information. Working with Math Routines. Working with Files. Working with Data Files.

Day 16. Creating Windows Forms.

Working with Windows and Forms. Creating Windows Forms. Customizing a Form's Look and Feel. Adding Controls to a Form.

Day 17. Creating Windows Applications.

Working with Radio Buttons. Working with List Boxes. Adding Menus to Your Forms. Displaying Pop-Up Dialogs and Forms.

Day 18. Web Development.

Creating Web Applications. The Concept of a Component. Web Services. Creating Regular Web Applications.

Day 19. Two D's in C#—Directives and Debugging.

What Is Debugging? Types of Errors. Finding Errors. Code Walkthroughs: Tracing Code. Preprocessor Directives. Using Debuggers.

Day 20. Operator Overloading.

Overloading Functions Revisited. Operator Overloading.

Day 21. A Day for Reflection and Attributes.

Reflection. Attributes. Congratulations!

Week 3. In Review.

Apply What You Know. Show What You Know.

APPENDIXES.

Appendix A: Answers.

Appendix B: C# Keywords.

abstract. as. base. bool. break. byte. case. catch. char. checked. class. const. continue. decimal. default. delegate. do. double. else. enum. event. explicit. extern. false. finally. fixed. float. for. foreach. get. goto. if. implicit. in. int. interface. internal. is. lock. long. namespace. new. null. object. operator. out. override. params. private. protected. public. readonly. ref. return. sbyte. sealed. set. short. sizeof. stackalloc. static. string. struct. switch. this. throw. true. try. typeof. uint. ulong. unchecked. unsafe. ushort. using. value. virtual. void. while.

Appendix C. C# Command-Line Compiler Flags.

Output. Input. Resource. Code Generation. Errors and Warnings. Programming Language. Miscellaneous. Advanced.

Appendix D. Understanding Different Number Systems.

The Decimal Number System. The Binary System. The Hexadecimal System.

Index.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)