Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

System Linq c#

int[] myNumbers = {5, 1, 8, 9};
      Console.WriteLine(myNumbers.Max());  // 9
      Console.WriteLine(myNumbers.Min());  // 1
      Console.WriteLine(myNumbers.Sum());  // 23
 
PREVIOUS NEXT
Tagged: #System #Linq
ADD COMMENT
Topic
Name
1+1 =