The Luhn algorithm is a simple checksum formula used to validate credit card numbers
The code is to check if a given CardNumber is valid.
The Luhn Algorithm on Wikipedia http://en.wikipedia.org/wiki/Luhn_algorithm
It was added to NuGet Gallery. You can use it directly calling this command from nuget package manager console
PM> Install-Package LuhnChecker -Version 1.0.0