Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image
Have one to sell? Sell on Amazon

Sams Teach Yourself C# in 21 Days Paperback – October 29, 2001

ISBN-13: 978-0672320712 ISBN-10: 0672320711 Edition: 1st
Buy used
Buy new
Used & new from other sellers Delivery options vary per offer
47 used & new from $2.53

There is a newer edition of this item:


Hero Quick Promo
Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now
$32.48 FREE Shipping on orders over $35. Only 4 left in stock (more on the way). Ships from and sold by Amazon.com. Gift-wrap available.

Frequently Bought Together

Sams Teach Yourself C# in 21 Days + Sams Teach Yourself C# in 24 Hours
Price for both: $59.56

Buy the selected items together

Editorial Reviews

From 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 Reed Business Information, Inc.

From the Back Cover

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.

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 784 pages
  • Publisher: Sams Publishing; 1 edition (October 29, 2001)
  • Language: English
  • ISBN-10: 0672320711
  • ISBN-13: 978-0672320712
  • Product Dimensions: 7.3 x 1.8 x 9.1 inches
  • Shipping Weight: 3 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon Best Sellers Rank: #906,392 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

3.9 out of 5 stars

Most Helpful Customer Reviews

16 of 16 people found the following review helpful By Jeff Damukaitis on February 28, 2003
Format: Paperback
I have thoroughly enjoyed the book and its ability to bring one up to speed with C#. He covers some very basic concepts such as structures, classes, indexers, and advanced topics such as delegates. All the constructs that one needs in order to put the language to work are detailed.
If you are looking for a quick, down and dirty book to jump start your knowledge of the language I would rate the book 5 stars.
One of the biggest challenges with OO languages is not using a procedural style when writing code. The author no doubt has a handle on the C# language. But I don't think he has a handle on OO. As the author mentions, everything in C# is class. With this in mind, I would expect to see good class design throughout the book.
My criticism, which I hope is taken with a grain of salt, is that the examples which wrap up a week's lesson are too procedural. They are spaghetti code that I personally would re-factor before publishing. There is a Main method that is hundreds of lines long with nested do's nested in if's nested in do's that are nested in if's... get the picture?
If this seems like harsh criticism, I apologize. I thought twice about writing this review until I hit is Black Jack program on about page 400.
A fellow techie
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
21 of 23 people found the following review helpful By Bill on November 9, 2001
Format: Paperback
Focus of this book is on the language itself - It doesn't get side-tracked talking about Visual Studio and .NET in general, like many C# books. It is written in a clear, friendly tone and the concepts and definitions are easy to understand. The organization is also well thought-out. Like all 21 Days books, it is divided into 3 weeks of 7 days (chapters) each. In this book, Week 1 covers language basics, like using the compiler, variables, operators, control statements and an introduction to classes and methods. Week 2 goes into more intermediate language topics like enumerators, arrays, exception handling, inheritance, interfaces and delegates. Finally, Week 3 introduces a some advanced C# topics like operator overloading and reflection as well as demonstrating how C# fits with the rest of the .NET world, specifically, the .NET Framework, Windows Forms, Web Services and Web Forms.
One caveat: If you don't have a lot of programming experience, the first couple of days cover conceptual topics that may be a little confusing. Don't let that trip you up. Just skim over them ignoring anything you don't understand and head to Day 3. That where the real meat of the programming topics begin and from there it starts at the beginning and builds on itself, as you'd expect.
I particularly liked the Week In Review sections that provided extended examples (often several hundred lines of code) that demonstrate the concepts covered in the previous week. Cross-references make it easy to look up anything that is unfamiliar. This really helps pull together the concepts and helps you understand how to apply them to real-world code.
Overall a great tutorial that doesn't skip around or backtrack like so many computer books do. The organization also makes it a good reference for looking things up after you learn C#.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
12 of 12 people found the following review helpful By Charles Ashbacher HALL OF FAMETOP 500 REVIEWERVINE VOICE on November 3, 2001
Format: Paperback
I have heard much about C# (pronounced C-sharp) over the last year, ranging from the bitter to the laudatory. In reading other books about the language, I was unable to formulate an opinion regarding the impact it will have. Well, after reading this book, it is clear that C# will have a major impact, and in this restricted job market, it is an excellent career move to learn how to use it. For years, I have heard C++ referred to as a "safer C", which is of course nonsense. In my experience, the sheer size of C++ makes it more, not less dangerous than C. However, in my opinion, there is no question that C# is a safer C. It retains some of the more attractive features of C++, such as operator overloading, yet the more dangerous concepts such as memory management and multiple inheritance are eliminated.
Before reading this book, I had some experience with C# and was looking for a text to use in the corporate training classes that I am creating. My search has ended. The lessons follow the traditional sequence of background, variables, operators, control structures and classes before moving on to the advanced topics. This is the best way to learn a new language, as nothing complicates education more than being exposed to topics without suitable background information.
The lessons are clear, concise and illustrate no more than the points to be made. Some argue that large projects built one segment at a time are the way to learn a language. I could not disagree more. Beginners need short, specific lessons that illustrate only a few topics. Large projects tend to overwhelm them to the point that the frustration level increases, which has a negative, cascading effect on their understanding.
This is a book for beginners, easily handled by anyone with some knowledge of C++ or Java. Those with no other programming experience can still understand it, but must be patient and work through all of the examples.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
10 of 10 people found the following review helpful By J. Norman on April 25, 2002
Format: Paperback
This was the very first book that I picked up on C#, while I was using Beta 2 of the .NET Framework. I come from an ASP/VBScript and Visual Basic 6.0 background. Since my focus with C# was ASP.NET programming, it was less useful to me than a beginning C# book that would have focused on ASP.NET programming (Such as Wrox's beginning ASP.NET using C#) but of course, this book makes no such warranty.
It's goal is to teach you the C# language, and on that count it works very well. But be warned, the lessons go very slowly until about Chapter 9.
I think there would be a market for a book such as "Teach Yourself C# in 21 Days -- For VB Programmers" that could move faster (you used to do loops this way in VB, here's how to do it in C#.)
You will probably be less than thrilled writing console applications as the book has you do, but I don't think one could come up with a better way to teach you C# from the ground up, without requiring the explicit use of Visual Studio.NET.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Sams Teach Yourself C# in 21 Days
This item: Sams Teach Yourself C# in 21 Days
Price: $32.48
Ships from and sold by Amazon.com