Part 6: C#-specific features

Introduction

This part covers C# features which are quite specific to C# and not found in Java. Most have been inherited from C++ and make C# a powerful language. Chapters 28 and 29 cover two topics usually classified as 'advanced C#'. It will be a good idea to read Chapter 28 after Chapter 27.

Unlike the core topics covered in Part 4, the Java developer will find the topics here rather foreign. I have illustrated the chapters with lots of code examples so that they can be understood more easily.

The chapters in this part are:
 

Chapter 24: C# preprocessor directives

 

Chapter 25: Using enums

 

Chapter 26: C# structures

 

Chapter 27: C# attributes

 

Chapter 28: Writing custom attributes

 

Chapter 29: Writing ...

Get From Java to C#: A Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.