Method Seconds
Seconds(Int32)
Returns a System.
Declaration
public static TimeSpan Seconds(this int seconds)
Parameters
Type | Name | Description |
---|---|---|
System. |
seconds | The number of seconds in the time span. |
Returns
Type | Description |
---|---|
System. |
A System. |
Seconds(Int64)
Returns a System.
Declaration
public static TimeSpan Seconds(this long seconds)
Parameters
Type | Name | Description |
---|---|---|
System. |
seconds | The number of seconds in the time span. |
Returns
Type | Description |
---|---|
System. |
A System. |
Seconds(Double)
Returns a System.
Declaration
public static TimeSpan Seconds(this double seconds)
Parameters
Type | Name | Description |
---|---|---|
System. |
seconds | The number of seconds in the time span. |
Returns
Type | Description |
---|---|
System. |
A System. |
Seconds(Single)
Returns a System.
Declaration
public static TimeSpan Seconds(this float seconds)
Parameters
Type | Name | Description |
---|---|---|
System. |
seconds | The number of seconds in the time span. |
Returns
Type | Description |
---|---|
System. |
A System. |