Created
February 15, 2022 15:22
-
-
Save colindooley11/c38e325a380fcd7e18934afb85b462b9 to your computer and use it in GitHub Desktop.
Convert to binary string hack #Codewars #interview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public static class Kata | |
{ | |
public static string AddBinary(int a, int b) => | |
Convert.ToString(a + b, 2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment