Some CSharp code snippet