把做工程过程中经常用的内容做个记录,下面的内容内容是关于C#获取文件扩展名的的内容。
string fileType = System.IO.Path.GetExtension(fileName); if (!string.IsNullOrEmpty(fileType)){ }
把做工程过程中经常用的内容做个记录,下面的内容内容是关于C#获取文件扩展名的的内容。
string fileType = System.IO.Path.GetExtension(fileName); if (!string.IsNullOrEmpty(fileType)){ }
转载于:https://juejin.im/post/5cad9e516fb9a068773936d8