Thank you, it no longer gets stuck when running. Unfortunately, it now passes all of the tests it is given, but does not let me pass the Kata.
Edit: I changed the Console.Write i was using to display my output to a Console.WriteLine, this caused me to pass the Kata after all of the tests were passed. I guess i can blame that on my spaghetti code.
Thank you, it no longer gets stuck when running. Unfortunately, it now passes all of the tests it is given, but does not let me pass the Kata.
Edit: I changed the Console.Write i was using to display my output to a Console.WriteLine, this caused me to pass the Kata after all of the tests were passed. I guess i can blame that on my spaghetti code.
For some reasons the C# translation had 100000 random tests.
I fixed it. Now there are only 100 random tests.
This comment is hidden because it contains spoiler information about the solution