Can you change that code to C#.Net?