Advertisement
DrAungWinHtut

filename.cs

Apr 29th, 2022
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.12 KB | None | 0 0
  1. string strPath = "c://myfiles//ref//file1.txt";
  2.  
  3. //function call to get the filename
  4. filename = Path.GetFileName(strPath);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement