Edit

Share via


Single.Sin(Single) Method

Definition

Computes the sine of a value.

C#
public static float Sin(float x);

Parameters

x
Single

The value, in radians, whose sine is to be computed.

Returns

The sine of x.

Implements

Remarks

This computes sin(x).

Applies to

Product Versions
.NET 7, 8, 9