 | Verhoeff.GenerateCheckSum Method |
Generates a Verhoeff checksum digit suffixed string.
Namespace: Orthogonal.Common.BasicAssembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 2025-03-15 14:42 GMT+11
Syntaxpublic static string GenerateCheckSum(
string number
)
Parameters
- number String
- The input string of numeric characters.
Return Value
StringThe input value suffixed with the checksum digit character.
Examplestring s = Verhoeff.GenerateCheckSum("12345");
Console.WriteLine($"Checked string is '{s}'");
See Also