Trying few four digit numbers , we always get 6174
System . Console . WriteLine ( kaprekar ( 1000 ) ) ; System . Console . WriteLine ( kaprekar ( 1112 ) ) ; System . Console . WriteLine ( kaprekar ( 9812 ) ) ; } }