/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public int CalculateTotalFileSize(string[] path) { int sumFileSize = 0; foreach(string onePath in path) { sumFileSize += Convert.ToInt32(info.Length); } return sumFileSize; }