O'Reilly logo

C# Primer Plus by Klaus Michelsen

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

Summary

This chapter is divided into three main parts. The first part provides an overview of the different kind of members a class can contain. The second part focuses on data members and, in particular, static instance variables. The third part zoomed in on the parts of the method construct we haven't yet discussed in previous parts of the book. These are reference and output parameters, parameter arrays, method overloading and the this keyword.

Some of the most important points discussed in this chapter are as follows.

The class construct can contain members of three different categories—data members, function members, and nested types. Data members represent the data of the class, function members contain blocks with series of statements ...

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