August 2008
Beginner to intermediate
512 pages
11h 34m
English
You've been using properties throughout the text, and you looked at an example of an event in Chapter 2. This chapter will go into a bit more detail on properties and events, and will also discuss some features of operators unique to C++/CLI, including static operators and how conversion operators work in C++/CLI vs. classic C++. You'll also learn about casts and conversions.
As you saw in Chapter 2, in terms of object-oriented programming, properties capture the "has-a" relationship for an object. Properties seem a lot like fields to the consumer of a class. They represent values that can be written to and/or retrieved from. You can use them inside the class as well as outside the class (if they ...
Read now
Unlock full access