Repo of a simple application showing how to replace long switch or if-else statements and nested logic for various scenario with dictionary and delegates in .Net 6.0
apulito/dictionary-instead-statements-v2
Setup dictionary and delegates instead of switch or if-else ladder
C#