public static GetFileExtension ( this file ) : string | ||
file | this | |
리턴 | string |
public static string GetFileExtension(this File file)
{
if (file == null) return string.Empty;
return Path.GetExtension(file.Name);
}