using System;
using System.Collections;
namespace Ejercicio_5
{
class Program
{
public static void Main(string[] args)
{
var numero = new [] {2,5,7,4,1,5,7222};
int Num=0;
numero.add(90);
foreach (var d in numero)
{
if ( Num < d )
{
Num = d;
}
}
Console.WriteLine(Num);
Console.ReadKey();
}
}
}
Asked
Active
Viewed 24 times
-4
stuartd
- 66,195
- 14
- 128
- 158
-
Does this answer your question: [Adding values to a C# array](https://stackoverflow.com/questions/202813/adding-values-to-a-c-sharp-array) – PajLe May 08 '22 at 01:13