Created
December 31, 2016 01:27
-
-
Save monica85rodrigues/5e6384f7e623fa38615ae9de812ebff2 to your computer and use it in GitHub Desktop.
Tutorial Clean code practices - Part 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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