.NET Code Snipet.