C# 6.0 and the .NET 4.6 Framework
1786 pages
English
PDF
4.5

C# 6.0 and the .NET 4.6 Framework

C# 6.0 and the .NET 4.6 Framework

Author:

Year:

Summary:

Introduction

The book "C# 6.0 and the .NET 4.6 Framework" (original title: C# 6.0 and the .NET 4.6 Framework) is the seventh, anniversary edition of the legendary textbook by Andrew Troelsen, this time co-authored with Philip Japikse. Published in 2015, this monograph of nearly 1800 pages is a comprehensive reference and study guide for modern C# development on the .NET platform. Despite being several years old, the book remains relevant for learning the fundamental principles of the language and platform that underpin newer versions of .NET (Core, 5/6/7/8).

What this book is about

The book covers virtually all aspects of C# and .NET 4.6 development. It starts with the basics of C# 6.0 syntax, including new features like null-conditional operators, string interpolation, and auto-property initializers. The authors then smoothly transition to object-oriented programming, working with collections, generics, delegates, and events. Dedicated sections cover LINQ, Entity Framework 6, WPF, Windows Forms, ASP.NET Web Forms and MVC 5, as well as web services (WCF, Web API). The book concludes with discussions on security, garbage collection, parallel programming, and application deployment.

Who this book is for

This edition is aimed at intermediate to advanced programmers who already have experience with C# or other object-oriented languages (Java, C++). Beginners may find the book too voluminous and detailed, but with due diligence, it will serve as an excellent starting point. The book is also useful for developers migrating from previous versions of C# (e.g., from C# 5.0) to C# 6.0, as well as for those who want to systematize their knowledge of the .NET platform.

What the reader will learn

  • C# 6.0 Syntax: all new language features, including nameof, string interpolation, null-conditional operators, improved initializers.
  • OOP in C#: classes, inheritance, polymorphism, interfaces, abstract classes, structs, enums.
  • Data Access: LINQ to Objects, LINQ to XML, LINQ to SQL, Entity Framework 6 (Code First, Database First).
  • GUI Development: Windows Forms, WPF (XAML, data binding, styles, templates).
  • Web Development: ASP.NET Web Forms, ASP.NET MVC 5, Web API 2, SignalR.
  • Services and Communication: WCF, web services, REST.
  • Parallel Programming: Task Parallel Library (TPL), async/await, parallel collections.
  • Security: authentication, authorization, cryptography, Code Access Security.
  • Garbage Collection and Memory Management: GC principles, IDisposable, finalizers.
  • Deployment: ClickOnce, Windows Installer, configuration settings.

Strengths

The main advantage of the book is its depth and completeness. The authors do not just list language features but explain how they work "under the hood." For example, when studying LINQ, you will learn not only the syntax but also how the compiler transforms queries into method chains and how expression trees work. The code examples are neatly written, with comments, and are available for download. Another plus is its structured approach: each chapter begins with a brief introduction and ends with a summary, making navigation easier. Finally, the co-authorship of Philip Japikse, an ASP.NET expert, added practical value to the web-related sections.

Who it is recommended for

The book will be useful for anyone who wants to deeply understand C# and .NET, not just learn how to write code. It is ideal for self-study by experienced developers and can also be used as a reference in daily work. If you are preparing for an interview for a C#/.NET developer position

Recommendations