jlafay submitted these extension methods

  • TimeElapsed

    Inspiration for this extension method was another DateTime extension that determines difference in current time and a DateTime object. That one returned a string and it is more useful for my applications to have a TimeSpan reference instead. That is what I did with this extension method.
    C# System.DateTime jlafay
  • IsStatic

    Determines if a type is static by checking if it's abstract, sealed, and has no public constructors.
    C# System.Type jlafay

 

;