CSharp examples for Windows.Devices.Sensors:SimpleOrientation
Click the following links for the tutorial for Windows.Devices.Sensors and SimpleOrientation.