Convert degrees to radians and vice versa C#

Import System namespace.

using System;

Convert Degrees To Radians

public static double CDTR(double degrees)
{
    return ((Math.PI / 180) * degrees);
}

Convert Radians To Degrees

public static double CRTD(double radians)
{
    return ((180 / Math.PI) * radians);
}