C#/.NET Code Sample