Version

DateTimeRange Constructor

Creates a new instance with the specified start and end times.
Syntax
public DateTimeRange( 
   DateTime start,
   DateTime end
)

Parameters

start
The date/time which marks the beginning of the range.
end
The date/time which marks the end of the range.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also