Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to find the biggest number in c#

public double FindBiggest(List<double> numbers)
{
	int biggest = numbers[0];
  	for (int i = 1; i < numbers.Count; i++)
    {
      	if(biggest < numbers[i])
          biggest = numbers[i];
    }
  	return biggest;
}
 
PREVIOUS NEXT
Tagged: #find #biggest #number
ADD COMMENT
Topic
Name
6+5 =