Skip to content

Instantly share code, notes, and snippets.

@JasonBock
Last active May 11, 2022 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JasonBock/4b4f3013394261f29b97d115813156d2 to your computer and use it in GitHub Desktop.
Save JasonBock/4b4f3013394261f29b97d115813156d2 to your computer and use it in GitHub Desktop.
public interface IModernDriver<TSelf>
where TSelf : IModernDriver<TSelf>
{
static abstract void Drive(IEnumerable<TSelf> modernDrivers);
void Drive();
void Stop() { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment