Tag Archives: list files

Use LINQ to list files and file sizes in a directory in C#

When you enter a directory name and click the List Files button, the following code lists files and file sizes in the directory you entered in the text box. // List the files in the selected directory and their sizes. … Continue reading

Posted in files, LINQ | Tagged , , , , , , , , , , , , , | Leave a comment