string strFilePaht="文件路径";
Path.GetFileNameWithoutExtension(strFilePath);
获取后缀名
Path.GetFileName(strFilePath);
string strFilePaht="文件路径";
Path.GetFileNameWithoutExtension(strFilePath);
获取后缀名
Path.GetFileName(strFilePath);
584

被折叠的 条评论
为什么被折叠?