This should be an easy one. I have a class method, and I want to limit a parameter to one of two values. Here's what I want:
Method TransferSpreadsheet(TransferType x);
When a programmer tries to call the TransferSpreadsheet method, and they are prompted to enter the TransferType parameter, I want the only two choices to be "Import", or "Export".
Do I need an enumeration for this? Can someone walk me through the steps?