Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
nevermind i figured it out.Thanks anyway
The expected and the actual testcases are swapped around, so your solution is "###########5616" and the expected solution is "############5616".
Your solution has one less hash ("#") than the expected. The expected has 12 hashes and 16 characters total, and your solution has 11 hashes and 15 characters total.
Expected string length 15 but was 16. Strings differ at index 11.
Expected: "###########5616"
But was: "############5616"
Assert.AreEqual(Kata.Maskify("4556364607935616"), "############5616");
What?
Are you using the usings?
Removing all spaces you get at the start end end of your final string should work.
I can't seem to be able to use Arrays, is there something I have to do diferently in codewars?
It is also not a good solution.
Yes there is. You must use System.Math instead of just math.
This comment is hidden because it contains spoiler information about the solution
http://www.wikihow.com/Convert-from-Binary-to-Decimal