Like an entertaining video game, programming is often a challenging but always rewarding experience. This book shakes off the dusty, dull and dry typical programming book, replacing it with something more exciting and interesting: a little humor, a relaxed tone and examples with dragons and asteroids instead of bank accounts and employees.
And since you learn to program by doing, not just reading, this book contains more than 100 practical programming tasks. You will be creating software, not just reading about it. By completing tasks, you will earn experience points, increase your level and become a real C# programmer!
This book covers the C# language from scratch. This does not mean that you have been programming for many years, but you also do not give up on interesting and powerful language features.
The journey begins with preparing for C# programming.
Then we'll learn the basic mechanics of C#: operators, expressions, variables, if statements, loops, and methods.
Next, we will delve into a powerful and central feature of C#: object-oriented programming, which is an important tool needed to create larger programs.
Next, we'll look at the advanced features of C# that make the language unique, elegant, and powerful.
With this book as a companion, you will soon set out to save the world (or conquer it) with your own C# programs!
The fifth edition has been updated for C#10, .NET 6 and Visual Studio 2022.