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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube