Code Sample in CSharp