Get The Max Value of an Int Array Without Sorting

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic.NET

More information:
This function returns the maximum value of integer array without sorting the indexes.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: