Greatest Kılavuzu C# Switch Case Kullanımı için
FYI, if anyone was looking for a inline shorthand switch case statement to return a value, I found the best solution for me was to use the ternary operator multiple times: Switch case, C# dilinde çok kullanışlı bir kontrolör konstrüksiyonsıdır çünkü yekten ziyade durumu kolaylıkla denetçi edebilir ve sabit değerlere nazaran kararlar