Skip to content

Instantly share code, notes, and snippets.

@colindooley11
Created February 15, 2022 15:22
Show Gist options
  • Save colindooley11/c38e325a380fcd7e18934afb85b462b9 to your computer and use it in GitHub Desktop.
Save colindooley11/c38e325a380fcd7e18934afb85b462b9 to your computer and use it in GitHub Desktop.
Convert to binary string hack #Codewars #interview
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