Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save monica85rodrigues/5e6384f7e623fa38615ae9de812ebff2 to your computer and use it in GitHub Desktop.
Save monica85rodrigues/5e6384f7e623fa38615ae9de812ebff2 to your computer and use it in GitHub Desktop.
Tutorial Clean code practices - Part 1
List<decimal> p = new List<decimal>() { 2.4m, 5.6m, 6.40m };
decimal t = 0;
foreach(var i in p)
{
t += i;
}
return t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment