Click or drag to resize
NumberExtensionsSecondsToTimeSpanAccurate Method
Extension method converting seconds to TimeSpan accurately (1/10^7).

Namespace: StreamCoders.Helpers
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static TimeSpan SecondsToTimeSpanAccurate(
	this double seconds
)

Parameters

seconds
Type: SystemDouble
Seconds.

Return Value

Type: TimeSpan
Returns seconds converted to TimeSpan.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also