C# metodas duomenu paemimui veiksmams ir grazinimui code example
Example: C# metodas duomenu paemimui veiksmams ir grazinimui
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;
}