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

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube