l like to check if the label.text does not contain any file directory
string[] strListFile = System.IO.Directory.GetFiles(lblSelectedPath.Text, "*", SearchOption.AllDirectories);
string[] strResultList = new string[] { };
thank you in advance
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Mar 2, 2021, 4:10 AM EST