Get extension of file without providing extension in the path

Posted by dotnetdev on Stack Overflow See other posts from Stack Overflow or by dotnetdev
Published on 2010-06-16T16:28:53Z Indexed on 2010/06/16 16:32 UTC
Read the original article Hit count: 190

Filed under:

Hi,

Is it possible to get the extension of a file but when you specify the entire path other than the extension? For example:

C:\Users\Administrator\Pictures\BlueHillsTest

Thanks

© Stack Overflow or respective owner

Related posts about c#