Saturday, June 1, 2013

Get List of all files From Folder C#

string fullpath="Full path";


DirectoryInfo dirInfo = new DirectoryInfo(fullpath);
FileInfo[] fileInfo = dirInfo.GetFiles("*.*", SearchOption.AllDirectories);

No comments:

Post a Comment

📱Build WhatsApp Bot using .NET + OpenAI

   In this article, you will learn how to build a real-world WhatsApp chatbot using ASP.NET Core and OpenAI. This bot can automatically repl...