using System;
public class Example
{
public static void Main()
{
double[] numbers = {100, 500, 1000, Double.MaxValue};
foreach (double number in numbers)
Console.WriteLine("The natural log of {0} is {1}.",
number, Math.Log10(number));
}
}