sde
Well-known member
I have created a Phone Class
AreaCode, Prefix, Suffix, Extention, PhoneType
this is how i want the constructor to work:
The PhoneType is my question here. I want to be able to make a PhoneType class which is basically an array of phone types.
Home Phone, Business Phone, Mobile, Fax, etc...
I am not sure how to make it so I dont have to instance PhoneType, and I want it so i can just use intellisense to select the phone type after i use PhoneType.<drop down list here of all phoen types>
I hope that made sense. So would my PhoneType class just be a bunch of structs? Im not sure how this works. The actually value of each PhoneType just has to be 2 characters.
HP, BP, MB, FX, etc...
can someone point me in the right direction?
AreaCode, Prefix, Suffix, Extention, PhoneType
this is how i want the constructor to work:
Code:
Phone(int AreaCode,int Prefix, int Suffix, in Extention, PhoneType.HomePhone);
The PhoneType is my question here. I want to be able to make a PhoneType class which is basically an array of phone types.
Home Phone, Business Phone, Mobile, Fax, etc...
I am not sure how to make it so I dont have to instance PhoneType, and I want it so i can just use intellisense to select the phone type after i use PhoneType.<drop down list here of all phoen types>
I hope that made sense. So would my PhoneType class just be a bunch of structs? Im not sure how this works. The actually value of each PhoneType just has to be 2 characters.
HP, BP, MB, FX, etc...
can someone point me in the right direction?