Skip to content

Instantly share code, notes, and snippets.

@colinbreame
colinbreame / DateRange.cs
Last active June 2, 2019 22:23 — forked from crmorgan/DateRange.cs
A c# class that represents a date range data structure.
using System;
using System.Collections;
using System.Collections.Generic;
namespace Utils
{
/// <summary>
/// Represents a range of dates.
/// </summary>
public struct DateRange : IEnumerable<DateTime>