Calculate Italian fiscal code (tax code) in C#

2.8k Views Asked by At

I need to calculate the Italian fiscal code (tax code) in C#.

I've found a PHP script to calculate this 16 alphanumeric code but I am not a PHP guy and it might take me many hours to translate this script from PHP to C#.

Here the link with the PHP code: http://www.createwebsite.it/script-per-calcolo-del-codice-fiscale

1

There are 1 best solutions below

3
On BEST ANSWER

Here: http://www.dotnethell.it/forum/messages.aspx?ThreadID=10346 there is an attachment with a class that should do the work. If you cannot read italian, just look for 185_CodiceFiscale.zip

If you can read Italian, here there is a small project with a step by step guide to build the code: http://www.sviluppo-software.info/2010/01/calcolare-il-codice-fiscale-in-c.html Should be interesting, if you want to learn :)