c# 取得扩展名

string KZM=files[0].FileName.Substring(files[0].FileName.LastIndexOf(".") + 1);

原文地址:https://www.cnblogs.com/handsomer/p/3680026.html