Pergunta de entrevista da empresa Advanced Systems Development

some syntax questions in C#