Answer: A method
Step-by-step explanation:
The show Dialog is the type of method that is used by the file-dialog object for displaying itself. The main purpose of show-dialog is that it runs the common dialog box in the system with the default owner. It is basically inherited from the common-dialog.
The show-dialog is the type of method that displays the dialog box for defining the file extension filter and the various dialog behavior in the system.