Featured
-
Binary search in C++
If you want to find the presence of a element in a
by kumar.abhishek
Tags
How to get the filename only from the given path string in C#
Suppose we have a string with full path with filename and we want to extract only the filename from the given path, then we can use Path.GetFileName method to extract only the file name.
Syntax: filename= Path.GetFileName(path);
Where pat...