Creating an "list" of valid peripherals for my program.
Posted
by Sergio Tapia
on Stack Overflow
See other posts from Stack Overflow
or by Sergio Tapia
Published on 2010-04-25T21:38:40Z
Indexed on
2010/04/25
21:43 UTC
Read the original article
Hit count: 256
Do I need to make an enum?
I want something like:
MyHardwareReport.Peripheral = ListOfPeripherals.Mouse
or
MyHardwareReport.Peripheral = ListOfPeripherals.Printer
How can I achieve something like this?
© Stack Overflow or respective owner