BN.com Gift Guide

Sams Teach Yourself C# in 24 Hours

Overview

Sams Teach Yourself C# in 24 Hours provides readers with 24 structured lessons that provide a light, but thorough introduction to C#. James Foxall moves beyond the pure syntax covered in existing books, to guide readers step-by-step through a cohesive presentation of the basics of C#. Once the basics are understood, Foxall shows the reader how to apply this knowledge to real-world Windows programming tasks using C#. Each chapter contains exercises that reinforce the lessons learned in each chapter. Tips, Notes, ...

See more details below
Other sellers (Paperback)
  • All (17) from $1.99   
  • New (6) from $8.62   
  • Used (11) from $1.99   
Sending request ...

Overview

Sams Teach Yourself C# in 24 Hours provides readers with 24 structured lessons that provide a light, but thorough introduction to C#. James Foxall moves beyond the pure syntax covered in existing books, to guide readers step-by-step through a cohesive presentation of the basics of C#. Once the basics are understood, Foxall shows the reader how to apply this knowledge to real-world Windows programming tasks using C#. Each chapter contains exercises that reinforce the lessons learned in each chapter. Tips, Notes, and Cautions provide additional advice from the authors on how to get up to speed and programming quickly with C#. Sidebars provide the more experienced reader with tips that will ease their migration from Visual Basic 6 and Visual C++ to C#.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
C# makes far more sense as a first programming language than C++ ever did. If you’re new (or relatively new) to programming, and you’re looking for a 100 percent nontheoretical introduction, Sams Teach Yourself C# in 24 Hours delivers the goods.

The book is organized around the actual development process most programmers will follow: first get comfortable with the Visual Studio environment; then build a user interface; wire it to code that actually makes things happen; connect it to external data and applications (including Microsoft Office); and finally, deploy your solution.

Gently, one lesson at a time, you’ll come to understand objects, methods, and collections; events, forms, and controls (including advanced controls such as tabbed dialog boxes); then data types and math. You’ll learn the basics of working with external databases using ADO.NET; how to debug your applications; even how to create custom setup programs. There are no lengthy lectures on .NET to delay you, though the book does conclude with a “10,000-foot view” of how C# fits into Microsoft’s broader framework. All in all, very accessible, very practical. (Bill Camarda)

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9780672322877
  • Publisher: Sams
  • Publication date: 3/28/2002
  • Series: Sams Teach Yourself Series
  • Edition number: 1
  • Pages: 506
  • Sales rank: 1,428,121
  • Product dimensions: 7.30 (w) x 9.00 (h) x 1.30 (d)

Meet the Author

James Foxall is vice president of Tigerpaw Software, Inc., and is a Microsoft Certified Solution Developer (MCSD) specializing in commercial database applications. James is an authority on interface and behavior standards of Windows applications, and has written more than 150,000 lines of commercial production code. James has authored several books and regularly contributes articles to journals and magazines.

Wendy Haro-Chun, MCSD, holds a Bachelor's in Computer Science and an MBA with an emphasis in International Business. She is Assistant Vice President of Research & Development for SunGard Insurance Systems. Her areas of technological expertise include .NET, C#, ASP, DHTML, JavaScript, XML, COM, VB, ADO, and SQL Server. Wendy has also served as technical editor and reviewer on numerous computer technology books.

Read More Show Less

Table of Contents

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

Introduction.

Audience and Organization. Conventions Used in This Book. Onward and Upward!

I. THE VISUAL STUDIO ENVIRONMENT.

Hour 1. A C# Programming Tour.

Starting C#. Creating a New Project. Understanding the C# Environment. Changing the Characteristics of Objects. Naming Objects. Setting the Text Property of the Form. Giving the Form an Icon. Changing the Size of the Form. Adding Controls to a Form. Designing an Interface. Adding an Invisible Control to a Form. Coding an Interface. Running a Project.

Hour 2. Navigating C#.

Using the Visual Studio .NET Start Page. Navigating and Customizing the C# Environment. Adding Controls to a Form Using the Toolbox. Setting Object Properties Using the Properties Window. Managing Projects. Managing Project Files with the Solution Explorer. Getting Help.

Hour 3. Understanding Objects and Collections.

Understanding Objects. Understanding Properties. Understanding Methods. Building an Object Example Project. Understanding Collections. Using the Object Browser.

Hour 4. Understanding Events.

Understanding Event-Driven Programming. Building an Event Example Project.

II. BUILDING A USER INTERFACE.

Hour 5. Building Forms-Part I.

Changing the Name of a Form. Changing the Appearance of a Form. Showing and Hiding Forms.

Hour 6. Building Forms-Part II.

Working with Controls. Creating TopMost Windows. Creating Transparent Forms. Creating Scrollable Forms. Creating MDI Forms. Setting the Startup Object.

Hour 7. Working with the Traditional Controls.

Displaying Static Text with the Label Control. Allowing Users to Enter Text Using a Text Box. Creating Buttons. Creating Containers and Groups of Option Buttons. Displaying a List with the List Box. Creating Drop-Down Lists Using the Combo Box.

Hour 8. Advanced Controls.

Creating Timers. Creating Tabbed Dialog Boxes. Storing Pictures in an Image List. Building Enhanced Lists Using the List View. Creating Hierarchical Lists with the Tree View.

Hour 9. Adding Menus and Toolbars to Forms.

Building Menus. Programming Menus. Using the Toolbar Control. Creating a Status Bar.

Hour 10. Drawing and Printing.

Understanding the Graphics Object. Working with Pens. Using System Colors. Working with Rectangles. Drawing Shapes. Drawing Text. Persisting Graphics on a Form. Build a Graphics Project Example.

III. MAKING THINGS HAPPEN-PROGRAMMING!

Hour 11. Creating and Calling Methods.

Creating Class Members. Writing Methods. Creating the User Interface of Your Project. Calling Methods. Exiting Methods. Working with Tasks.

Hour 12. Using Constants, Data Types, Variables, and Arrays.

Understanding Data Types. Defining and Using Constants. Declaring and Referencing Variables. Determining Scope. Naming Conventions.

Hour 13. Performing Arithmetic, String Manipulation, and Date/Time Adjustments.

Performing Basic Arithmetic. Comparing Equalities. Understanding Boolean Logic. Manipulating Strings. Working with Dates and Times.

Hour 14. Making Decisions in C# Code.

Making Decisions Using if Statements. Evaluating an Expression for Multiple Values Using switch. Branching Within Code Using goto.

Hour 15. Looping for Efficiency.

Looping a Specific Number of Times Using for Statements. Using do…while to Loop an Indeterminate Number of Times.

Hour 16. Debugging Your Code.

Adding Comments to Your Code. Identifying the Two Basic Types of Errors. Using C#'s Debugging Tools. Writing an Error Handler Using try…catch…finally.

Hour 17. Designing Objects Using Classes.

Understanding Classes. Instantiating Objects from Classes.

Hour 18. Interacting with Users.

Displaying Messages Using the MessageBox.Show() Method. Creating Custom Dialog Boxes. Interacting with the Keyboard. Using the Common Mouse Events.

IV. WORKING WITH DATA.

Hour 19. Performing File Operations.

Using the Open File Dialog and Save File Dialog Controls. Manipulating Files with the File Object. Manipulating Directories with the Directory Object.

Hour 20. Controlling Other Applications Using Automation.

Creating a Reference to an Automation Library. Creating an Instance of an Automation Server. Manipulating the Server.

Hour 21. Working with a Database.

Introduction to ADO.NET. Connecting to a Database. Manipulating Data. Using the Data Form Wizard.

V. DEPLOYING SOLUTIONS AND BEYOND.

Hour 22. Deploying a Solution.

Creating a Custom Setup Program. Running a Custom Setup Program. Uninstalling an Application You've Distributed.

Hour 23. Introduction to Web Development.

XML. SOAP. ASP.NET. Web Forms. XML Web Services.

Hour 24. The 10,000-Foot View.

The .NET Framework. Common Language Runtime (CLR). Microsoft Intermediate Language. Namespaces. Common Type System. Garbage Collection.

Appendix.

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)