Var type is the array of string
Documents = Directory.GetFiles ([string path], [string searchPattern(for example: “*.exe”)], System.IO.SearchOption.AllDirectories or TopDirectoryOnly)
About Search option:
AllDirectories - 1- Includes the current directory and all its subdirectories in a search operation. This option includes reparsing points such as mounted drives and symbolic links in the search.|
TopDirectoryOnly - 0 - Includes only the current directory in a search operation.