Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part I: The C# Language > Interfaces, Structures, and Enumerations

Chapter 12. Interfaces, Structures, and Enumerations

This chapter discusses one of C#’s most important features: the interface. An interface defines a set of methods that will be implemented by a class. An interface does not, itself, implement any method. Thus, an interface is a purely logical construct that describes functionality without specifying implementation.

Also discussed in this chapter are two more C# data types: structures and enumerations. Structures are similar to classes except that they are handled as value types rather than reference types. Enumerations are lists of named integer constants. Structures and enumerations contribute to the richness of the C# programming environment.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial