Also, please use Code tags next time They will make your code in the forum easier to read - example:
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
(Source: shamelessly stolen from w3schools)
.