O'Reilly logo

From Java to C#: A Developer's Guide by Heng Ngee Mok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required