📜  C#metodas duomenu paemimui veiksmams ir grazinimui - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:24.345000             🧑  作者: Mango

代码示例1
static double TotalGroup(Money[] M, int n)
        {
            double sum = 0;
            for (int i = 0; i < n; i++)
            {
                sum = sum + Convert.ToDouble(M[i].GetMoney());
            }
            return sum / 100;
        }