https://zoheirsoftware.com/blog/csharp-ternary-operator