Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Array Foreach with sum
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int[] number = new int[3]; number[0] = 542; number[1] = 320; number[2] = 138; foreach(int turd in number) { Console.WriteLine(turd); } Console.WriteLine("Total = " + number.Sum()); } } }
run
|
edit
|
history
|
help
0
Invoke method via reflection
Fórum PS ➡ Converting a type (class category) to bool, implicitly ♦
Namespaces multiple
Game Dev Challenge #1
remove dups
5454
V
pattern
Merge Sample
base exterior