This file contains hidden or 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
/// <summary> | |
/// Validate Italian Fiscal Code (https://en.wikipedia.org/wiki/Italian_fiscal_code_card) | |
/// </summary> | |
/// <param name="fiscalCode">code to be checked</param> | |
/// <returns><c>true</c> if checksum is valid, <c>false</c> otherwise</returns> | |
/// <remarks> | |
/// Based on: https://gist.github.com/supix/97dfe1e2c4b804bd3721faf4bec1c573 | |
/// </remarks> | |
public static bool IsFiscalCodeValid(string fiscalCode) | |
{ |