public static void Main(string[] args) { /* * In number theory, a narcissistic number in a given number base b is a number that is * the sum of its own digits each raised to the power of the number of digits */ Console.WriteLine(Kata.Narcissistic(153)); // true, because the result is the same as the original number, that is 153 Console.WriteLine(Kata.Narcissistic(1652)); // false, because the result is not the same as the original number Console.WriteLine(Kata.Narcissistic(370)); // true, because the result is the same as the original number, that is 370 Console.WriteLine(Kata.Narcissistic(371)); // true, because the result is the same as the original number, that is 371 Console.WriteLine(Kata.Narcissistic(407)); // true, because the result is the same as the original number, that is 407 Console.WriteLine(Kata.Narcissistic(328)); // false, because the result is not the same as the original number Console.WriteLine(Kata.Narcissistic(629)); // false, because the result is not the same as the original number }