In this article, we’ll learn: How to get all file name from folder in C#. Path.GetFileName Returns the file name and extension of the specified path string. Step1 : Add the namespace to using
In this article, we’ll learn: How to get all file name from folder in C#. Path.GetFileName Returns the file name and extension of the specified path string. Step1 : Add the namespace to using