NiCE interview question

Simple logical and C# questions