The .Net Framework uses by default radians in its trigonometry calculations. Find out how to convert degrees to radians to use with C#

```
private double DegreeToRadian(double angle)
{
return Math.PI * angle / 180.0;
}
//Get the Cosine of a 45 degree angle
double angle = Math.Cos(DegreeToRadian(45));
```