In-Depth

Book Review: Delve Inside C#

The C# Programming Language is a reference book that will benefit both beginners and veterans alike. Topics include exceptions, unsafe code, generics, anonymous methods, iterators, and partial types.

The C# Programming Language is great for both experienced programmers as well as those just picking up the language. It covers the original C# specification as well as features available in version 2.0. The authors give small examples throughout the book to drive home points.

The C# Programming Language is more of a reference book than a step-by-step tutorial book. The authors discuss topics and give examples, but you won't find verbose examples you'd find in tutorial books.

The first two-thirds of the book focuses on the C# 1.0 specification. Chapters 1 and 2 give you an introduction to the language, and then the book increases gradually in complexity. The authors address the topics of exceptions and unsafe code particularly well. The last third of the book focuses on the new features of C# 2.0, where you'll find information on generics, anonymous methods, and iterators. Generics will be easy for you to pick up if you understand templates in C++. The authors explain why the compiler won't accept generics being used one way and not another. They also discuss partial types briefly as well; partial types allow you to define a type across multiple source files.

I found this book useful—in fact, it's already on the community shelf at work for the other programmers to reference as they see fit. Beginners will benefit from the majority of the book, and there's a good amount of information for seasoned developers in the latter portion.


The C# Programming Language
by Anders Hejlsberg, Scott Wiltamuth, and Peter Golde
Addison-Wesley
ISBN: 0321154916
Price: $29.99
Quick Facts: Covers C# language specification for 1.0 and 2.0.
Pros: Excellent for both beginners and veterans.
Cons: None.

About the Author
David Mack is a technical lead and consultant for the National Intelligence Division at Titan Systems. He has more than 10 years of experience in management and software engineering. Reach him at [email protected].

comments powered by Disqus

Featured

  • VS Code v1.99 Is All About Copilot Chat AI, Including Agent Mode

    Agent Mode provides an autonomous editing experience where Copilot plans and executes tasks to fulfill requests. It determines relevant files, applies code changes, suggests terminal commands, and iterates to resolve issues, all while keeping users in control to review and confirm actions.

  • Windows Community Toolkit v8.2 Adds Native AOT Support

    Microsoft shipped Windows Community Toolkit v8.2, an incremental update to the open-source collection of helper functions and other resources designed to simplify the development of Windows applications. The main new feature is support for native ahead-of-time (AOT) compilation.

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

Subscribe on YouTube