public static double getTimeDiff(string start,string end,string mode="m"){DateTime d1,d2;mode=mode.Trim().ToLower();if (DateTime.TryParse(start,out d1) && DateTime.TryParse(end,out d2)){if (mode == "m...
请教哪位高手,用C#做个计算时长的小程序
public static double getTimeDiff(string start,string end,string mode="m"){DateTime d1,d2;mode=mode.Trim().ToLower();if (DateTime.TryParse(start,out d1) && DateTime.TryParse(end,out d2)){if (mode == "m...