Skip to content

Instantly share code, notes, and snippets.

@slimbo
Created November 7, 2012 02:50
Show Gist options
  • Select an option

  • Save slimbo/4029314 to your computer and use it in GitHub Desktop.

Select an option

Save slimbo/4029314 to your computer and use it in GitHub Desktop.
Hit the Bits! - Light Switch Interface Polymorphic Assignment
ISwitch myLightSwitch = new LightSwitch(wire1, wire2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment