1 Introducing C# and .NET

 

This chapter covers

  • Understanding what C# and .NET are
  • Why you would use C# for your projects (and why you wouldn’t)
  • Switching to C# and how to get started

Another book on C#, you say? Yes, another one. Plenty of books are written about C# and .NET, but this book has one fundamental difference: I wrote this book to help you develop clean, idiomatic C# code in your day-to-day life. This book is not a reference book but rather a practical guide. This book does not cover things like “How to write an if statement”, “what is a method signature”, or “what is an object”. We are not very concerned about syntax but instead focus on concepts and ideas. There is a difference between knowing the syntax of a language and being able to write clean, idiomatic code. After going through this book, that is exactly what you can do. Whatever your background is, whatever programming languages you know, as long as you understand object-oriented programming, this book helps you shift into the C# and .NET ecosystem.

Figure 1.1 In every chapter introduction there is a progress diagram. This allows you to quickly figure out where you are in the book.

1.1    Why work in C#?

1.1.1   Reason 1: C# is scalable and economical

1.1.2   Reason 2: C# can improve code stability

1.1.3   Reason 3: C# is developer-friendly and easy to use

1.2    Why not work in C#?

1.2.1   Operating system development in C#

1.2.2   Real-time operating system embedded development in C#

1.2.3   Numerical computing and C#

1.3    Switching to C#

1.4    The importance of “clean code”

1.5    What you will learn in this book

1.6    What you will not learn in this book

1.7    Summary

sitemap