Esempio n. 1
0
        static void Main(string[] args)
        {
            int number = int.Parse(Console.ReadLine());
            //ToBinary(decimalNumber);
            //Console.WriteLine(ToBinary(decimalNumber));
            //Console.WriteLine(IsPalindrome(ToBinary(decimalNumber)));
            //Console.WriteLine(SsA(ToBinary(decimalNumber)));
            Hack HackNumber = new Hack();

            HackNumber.IsHack(number);
            HackNumber.NextHack(number);
            Console.ReadLine();
        }
Esempio n. 2
0
		static void Main(string[] args)
		{
			int number = int.Parse(Console.ReadLine());
			//ToBinary(decimalNumber);
			//Console.WriteLine(ToBinary(decimalNumber));
			//Console.WriteLine(IsPalindrome(ToBinary(decimalNumber)));
			//Console.WriteLine(SsA(ToBinary(decimalNumber)));
			Hack HackNumber = new Hack();
			HackNumber.IsHack(number);
			HackNumber.NextHack(number);
			Console.ReadLine();

		}