Does anyone know where I can get examples of c# code using winAPI I tried using the msdn but since Im a beginner to any kind of programming language, it seems they cater mostly to higher level programmers, either that or I couldnt find the beginner's section. Thanks

API
homerun1
KenDavis
Here are good places in the documentation to start
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconconsumingunmanageddllfunctions.asp
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconmarshalingdatawithplatforminvoke.asp
And here's a good intro article
http://msdn.microsoft.com/msdnmag/issues/03/07/NET/