Programul rezolvat in C#