Implement Italian Fiscal Code in C#
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- Half a day
- Newbie friendliness
- 78/100
Research direction
Start from SPECIFICATION.md and the Python or PHP implementations under languages/ to see the expected input and output and how run.sh and manifest.yaml are structured. Create languages/csharp/ with the C# source, Dockerfile, run.sh, manifest.yaml and README.md. Done when ./elc test csharp reports 87/87 passing.
Written by the indexing model from the issue text.
Description
Implement the Italian Fiscal Code algorithm in C# and get it verified by the shared test suite.
What to build
A program that reads one JSON object on stdin and writes the fiscal code (or an error) as JSON on stdout, exactly as described in SPECIFICATION.md.
$ echo '{"surname":"ROSSI","name":"MARIO","birth_date":"1980-01-01","sex":"M","birthplace_code":"H501"}' | ./elc run csharp
{"fiscal_code": "RSSMRA80A01H501U"}
Suggested setup
| Directory | languages/csharp/ |
| Family | dotnet |
| Docker base | mcr.microsoft.com/dotnet/sdk:8.0 (just a suggestion) |
Checklist
-
languages/csharp/with source,Dockerfile,run.sh,manifest.yamlandREADME.md - The algorithm is written entirely in C# (no wrappers, no fiscal-code libraries, no remote calls)
-
./elc test csharppasses 87/87 - PR opened with
Closes #<this issue>
See CONTRIBUTING.md and the Python / PHP implementations for complete examples.
🎃 This issue is part of Hacktoberfest. Comment below to claim it!
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openapi/every-language-fiscal-code
-
hacktoberfest help wanted historical-language new-language
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
hacktoberfest help wanted historical-language new-language
Difficulty 3/5 1-2 days Newbie friendliness 70/100
-
hacktoberfest help wanted historical-language new-language
Difficulty 3/5 1-2 days Newbie friendliness 50/100
-
hacktoberfest help wanted historical-language new-language
Difficulty 4/5 3-5 days Newbie friendliness 50/100
-
hacktoberfest help wanted new-language
Difficulty 3/5 1-2 days Newbie friendliness 62/100
All issues in openapi/every-language-fiscal-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
WingedGuardian/GENesis-AGI#3375 ·
Maintainers usually reply within 1 day
-
curriculum documentation quality
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
githubnext/gh-aw-workshop#4601 ·
Maintainers usually reply within 1 day
-
approved Good First Issue scope: docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
hiero-ledger/hiero-sdk-python#2730 · 3 comments ·
Maintainers usually reply within 1 day