06.HighQualityMethodsHomework/RefactorCSharpPart2Exam/11. CSharp-Part-2-Exam/CSharp-Part-2-Exam/EnigmaCat/EnigmaCat.cs
/// <summary>
/// Raises an unsigned 64-bit-integer to a power
/// </summary>
/// <param name="number">Unsigned 64-bit-integer to raise</param>
/// <param name="power">Unsigned 32-bit-integer to raise to</param>
/// <returns>Unsigned 64-bit-number</returns>
Raises an unsigned 64-bit-integer to a power
Raises an unsigned 64 - bit - integer to a power
private static ulong NumberToPower(ulong number, uint power)
        {
            ulong result = 1;
            for (uint i = 0; i < power; i++)
            {
                result *= number;
            }
            return result;
        }
private static ulong NumberToPower ( ulong number , uint power ) { ulong result = 1 ; for ( uint i = 0 ; i < power ; i ++ ) { result *= number ; } return result ; }
Raises an unsigned 64-bit-integer to a power
Raises an unsigned 64 - bit - integer to a power
// Multiply number "power" times
None
number
ulong
Unsigned 64-bit-integer to raise
Unsigned 64 - bit - integer to raise
power
uint
Unsigned 32-bit-integer to raise to
Unsigned 32 - bit - integer to raise to