It's still wrong. You should learn the very basics of programming in C# first. To do it:
1. Download Microsoft Visual Studio C# Express (free)
http://www.visualstudio.com/en-us/produ ... ss-vs.aspx Select a version that is compatible with your Windows. If you have an old version of Windows then download Visual C# 2010 Express.
2. Now you can write your first program with this guide:
http://msdn.microsoft.com/en-us/library/k1sx6ed2.aspx3. If you manage to run your first "Hello World' program, then you should check Google for more C# tutorials that will help you understand programming better.
4. Then you should read some books about programming.
5. Read more
Somewhere between the point 3 and 5 you will be already able to write a working Custom Command.