Visual Studio makes it easy for you to interact with controls and classes. When you type a period (.) after
a class or object name, Visual Studio pops up a list of available properties and methods (see Figure 2-16).
It uses a similar trick to provide a list of data types when you define a variable and to provide a list of
valid values when you assign a value to an enumeration.
Visual Studio also provides a list of parameters and their data types when you call a method or
invoke a constructor. This information is presented in a tooltip below the code and is shown as you type.
Because the .NET class library heavily uses function overloading, these methods may have multiple
different versions. When they do, Visual Studio indicates the number of versions and allows you to see
the method definitions for each one by clicking the small up and down arrows in the tooltip. Each time
you click the arrow, the tooltip displays a different version of the overloaded method
Hiç yorum yok:
Yorum Gönder