radians to degree c#

C#
public double ConvertToRadians(double angle)
    {
        return (System.Math.PI / 180) * angle;
    }
Source

Also in C#: