In C#.
Thanks for the help
Chris