There is different explanations depending on API, but seem to work similarly;
DefaultExt
is used when the user selects a file name with no extension AND selected filter is a wildcard filter, like (*.*)
.
System.Windows.Forms.FileDialog.DefaultExt
(MSDN):
When the user of your application specifies a file name without an extension, the FileDialog appends an extension to the file name. The extension that is used is determined by the Filter and DefaultExt properties. If a filter is selected in the FileDialog and the filter specifies an extension, then that extension is used. If the filter selected uses a wildcard in place of the extension, then the extension specified in the DefaultExt property is used.
Microsoft.Win32.FileDialog.DefaultExt
(MSDN):
By default, the AddExtension property attempts to determine the extension to filter the displayed file list from the Filter property. If the extension cannot be determined from the Filter property, DefaultExt will be used instead.