Skip to content

Instantly share code, notes, and snippets.

@noahmorrison
Last active August 29, 2015 14:23
Show Gist options
  • Save noahmorrison/e612ed9b98ed4121518f to your computer and use it in GitHub Desktop.
Save noahmorrison/e612ed9b98ed4121518f to your computer and use it in GitHub Desktop.
static class Program
{
static void Main()
{
long theAmountOfTicksItTakesToGetToTheCurrentTime_MultiplyBy_TimeSpanDotTicksPerMillisecond_ToGetCurrentTimeInMilliseconds__NoteThatWouldNotBeEqualToTheTimeSinceTheEpoch
= DateTime.Now.Ticks;
float aFloatThatIsWasImplicitlyCastedFromALongAndLossDataInTheProcess_IsEqualTo6Dot35712541EPlus17
= theAmountOfTicksItTakesToGetToTheCurrentTime_MultiplyBy_TimeSpanDotTicksPerMillisecond_ToGetCurrentTimeInMilliseconds__NoteThatWouldNotBeEqualToTheTimeSinceTheEpoch
+ 10;
if (aFloatThatIsWasImplicitlyCastFromALongAndLossDataInTheProcess_IsEqualTo6Dot35712541EPlus17 == theAmountOfTicksItTakesToGetToTheCurrentTime_MultiplyBy_TimeSpanDotTicksPerMillisecond_ToGetCurrentTimeInMilliseconds__NoteThatWouldNotBeEqualToTheTimeSinceTheEpoch)
Console.WriteLine("equal");
else
Console.WriteLine("nope");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment