[CSHARP] public static double ConvertDegreesToRadians(double degrees) { return ((Math.PI / 180) * degrees); } [/CSHARP] [CSHARP] public static double ConvertRadiansToDegrees(double radians) { return ((180 / Math.PI) * radians); } [/CSHARP]