Cannot use Path.GetFileName Method


#1

It seems that I cannot use the Path.GetFileName method. Is it because there is some extension that I need to install?


#2

Oh, sorry, I found the reason. I named the variable as “Path”. That’s why the method doesn’t exist.