Home > Articles

  • Print
  • + Share This
This chapter is from the book

Q&A

  1. Is there an easy way to get help about an object's member?

  1. Absolutely. Visual C# .NET's context-sensitive Help extends to code as well as to visual objects. To get help on a member, write a code statement that includes the member (it doesn't have to be a complete statement), position the cursor within the member text, and press F1. For instance, to get help on the Count property of the controls collection, you could type this.Controls.Count, position the cursor within the word Count, and press F1.

  1. Are there any other types of object members besides properties and methods?

  1. Yes. An event is actually a member of an object, although it's not always thought of that way. Not all objects support events, however, but most objects do support properties and methods.

  • + Share This
  • 🔖 Save To Your Account