I think it's creating for the worst-case, but I'd have to RTFM.
I prefer this.
You may need to double-check the documentation, but the idea is that if I pre-allocate an array of the right type, I get the benefit that it will be a homogeneous array and I won't have to cast. I'm allergic to casting, even with run-time type checking.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jun 28, 2008
Okay thanks, I wil try it.
subject: cast List of SelectItem to Array of SelectItem