c# - How do I search for a list of files using wildcard -


How do I use wildcards in C # to list the files in the selected folder?

Your friend is here:

  Directory.GetFiles (@ " C: \ Users \ Me \ Documents "," * .docx ");  

Or, recurring:

  directory. Getfile (@ "c: \ user \ m \ document", "* .docx", searchoptions, all directories);  

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

kernel - How to create a "Block device" in Windows -