a c# version of tyler glaiel's "number" because why not