Quick actions

cmd+k|ctrl+k

Navigation

Languages

Exponent

Snippet info

Language

Csharp

Visibility

public

Author

mumfordnsons

Created

2016-05-27T20:01:12Z

Updated

2016-05-27T20:01:33Z

namespace ExponentApp
{
    using static System.Console;
    
    class MainClass 
    {
        static void Main() 
        {
            var value = 2;
            var exponent = 3;
            var result = ExponentCalculator.Calculate(value, exponent);
            
            WriteLine($"The result is {result}");
        }
    }

}
INFO