At the moment i am learning how to use c# and c++ with direct x. I am using a book called "Begining 3D Game Proggramming". I only know the basics of c and c++. I am doing the 1st exercise in the book which you have to make a spinning teapot, it tells you to make an emty project (managed) using the microft direct x sdk then i open it up with microsoft Visual c# 2005 express and i execute the empty project and it works i then add the code the book asks me to, and it dooesnt work. It wouldnt let me attach the source (teapot.cs) so i have attched a text file with source in becuase its quite big!
Sorry for long explanation
Please can you tell me the problem
P.s its probbably just a stupid mistake i have made