Welcome to TeachYourselfCSharp.com!
This is the front page of the support site for my book, Sams Teach Yourself C# in 21 Days published by Sams Publishing. This site contains the source code files for the book, errata, and much more.
If you have not yet bought a copy of my book, you can get it at Amazon.com, Barnes & Nobles, FatBrain, and a number of other sites.
The book is designed to teach the C# language as it was specified to the
ECMA standard. The book is broken into 21 chapters which can each be accomplished
in a single setting - usually 2 to 3 hours if you read the chapter and do the
quiz and exercises. because of this, the book is designed to be used over 21
days. You will also find that there are a few other elements within the book.
This includes Week in Reviews, which tell you about the upcoming seven days
of lessons. There are also Week in Reviews. These summarize what was covered
in the previous seven days. At the end of the first and second week there
are even a couple of larger programs that you can use.
What is covered in the book? Following is the outline for the 21 Days:
Week One
- Week One at a Glance
- Day 1 - Getting Started with C#: Learn why C# is a great language, how to create a basic C# program, and how to compile and run a C# program.
- Day 2 - Understanding C# Programs: Discover the basic structure of a C# program and the basics of displaying information.
- Day 3 - Storing Information: Understand the basic types used for storing information.
- Day 4 - Working with Operators: Explore the basic operators as well as how to control program flow with the if statement.
- Day 5 - Control Statements: Expand your knowledge by understand the other control statements including the for, do, and while.
- Day 6 - Classes: Discover the concepts surrounding classes and then apply them within C#.
- Day 7 - Class Methods and Member Functions: Expand your understanding of classes into methods and functions.
- Week One In Review
Week Two
- Week Two at a Glance
- Day 8 - Advanced Data Storage: Structures, Enumerators, and Arrays: Learn advanced methods for holding information.
- Day 9 - Advanced Method Access: Discover method overloading as well as learn about advanced class concepts. Also learn more on namespaces.
- Day 10 - Handling Exceptions: Implement exception handling--a key concept for real world programming--in your programs.
- Day 11 - Inheritance: Expand your classes to new levels with inheritance.
- Day 12 - Better Input and Output: Create better programs by learning more about getting information and displaying information.
- Day 13 - Interfaces: Obtain an understanding of Interfaces and how to use them.
- Day 14 - Indexers, Delegates, and Events: Learn intermediate level topics for creating hard-core applications.
- Week Two In Review - (Game of 21)
Week Three
- Week Three at a Glance
- Day 15 - Using the .NET Base Classes: Discover the existing code you can use in your C# programs.
- Day 16 - Creating Windows Forms: Learn how to create a window form and how to use standard controls.
- Day 17 - Creating Windows Applications: Expand your knowedge from Day 16 into creating more complete windows-based applications.
- Day 18 - Web Development: Learn to create Web form applications as well as Web services.
- Day 19 - Two 'D's in C#: Directives and Debugging: Remove errors and more.
- Day 20 - Operator Overloading: Learn to overload operators in order to make your programs more intuitive.
- Day 21 - A Day for Reflection and Attributes: End your lessons with more advanced topics.
- Week Three In Review
Appendixes
- Appendix A - Answers to Quizes and Exercises
- Appendix B - C# Keywords
- Appendix C - Microsoft C# Command Line Compiler Options
- Appendix D - Understanding Different Number Systems
I hope you enjoy the book. Feel free to send me feedback to Brad@teachyourselfCsharp.com. Unfortunately, due to the volume of mail I receive, I am unable to help with individual problems. Do, however, check the errata on this page. Additionally, you can check out the C# forum on www.codeguru.com - A site I currently manage.