TimeOnly.Second Property

Definition

Gets the seconds component of the time represented by this instance.

C#
public int Second { get; }

Property Value

A number representing the seconds component of this instance.

Applies to

Produit Versions
.NET 6, 7, 8, 9