Challenge
Using the C# language, have the function
KaprekarsConstant(num) take the
num parameter being passed which will be a 4-digit number with at least two distinct digits. Your program should perform the following routine on the number: Arrange the digits in descending order and in ascending order (adding zeroes to fit it to a 4-digit number)