+92 332 4229 857 99ProjectIdeas@Gmail.com

LINQ Max() Method (Vb.net)



The following code shows you how to find maximum value from array using LINQ Max() method.








Dim intArr As Integer() = {2, 1, 2, 3, 7, 5, 10, 9}

Dim query = intArr.Max()

Console.Write(query.ToString())

Output of the program is:
10

see this in c#.net 

0 comments: