It seems that I cannot use the Path.GetFileName method. Is it because there is some extension that I need to install?
Oh, sorry, I found the reason. I named the variable as “Path”. That’s why the method doesn’t exist.
2 Likes