C#

Memoization

Math.Round

Math

Math.Pow

using System;
class Program
{
static void Main()
{
double a = Math.**Log**(1);
Console.WriteLine(a);
*// Ten to the power of 3 is 1000.*
double b = Math.**Log10**(1000);
Console.WriteLine(b);
double c = Math.**Log**(1000, 10);
Console.WriteLine(c);
}
}0
3
3

Dot Net Perls is a collection of tested code examples. Pages are continually updated to stay current, with code correctness a top priority.

Sam Allen is passionate about computer languages. In the past, his work has been recommended by Apple and Microsoft and he has studied computers at a selective university in the United States.

This page was last updated on Oct 11, 2022 (image).