Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

max index array c#

for ( int i = 0 ; i < ar.Length ; i++ )
			{
				if ( ar [ i ] > ar[imax])
					imax = i;
			}
			return imax;
		
 
PREVIOUS NEXT
Tagged: #max #index #array
ADD COMMENT
Topic
Name
6+5 =