Get extension from file name
string
extension
;
extension
=
Path
.
GetExtension
(
fileName
)
;
Resources
http://msdn.microsoft.com/en-us/library/system.io.path.getextension.aspx