Added example code
primarily derived from Xamarin's project template for OpenGL