make it compile on .NET CF v3.5
change namespace of MainClass