Here are the examples of the csharp api System.Convert.ToDateTime(bool) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : BasicConvert.Overload.cs
with MIT License
from Dogwei
with MIT License
from Dogwei
DateTime IXConverter<bool, DateTime>.Convert(bool value)
=> Convert.ToDateTime(value);
19
Source : BooleanExtensions.cs
with GNU General Public License v3.0
from ME3Tweaks
with GNU General Public License v3.0
from ME3Tweaks
public static DateTime ToDateTime(this bool value)
{
return Convert.ToDateTime(value);
}