Primitve question sorry how to find the Lowest value in an Array in C#
tried the code below didnt work
int intArray = new int[5]{1, 2, 3, 4, 5};
int MinValuen = intArray.Min();
Primitve question sorry how to find the Lowest value in an Array in C#
tried the code below didnt work
int intArray = new int[5]{1, 2, 3, 4, 5};
int MinValuen = intArray.Min();
Got it have to add
using System.Linq;
Hard to see where the issue is: