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.