30 Aug 2011
Updated: 30 Aug 2011
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 7,840
Bookmarked: 0
Downloaded: 0
"we cannot pass a Type as a function parameter" ???Yes we can. Just look at the parameter of Enum.GetValues for example._______Generic functions are unnecessary here. Just use Object.GetType to, um, get the type.private Enum GetNextEnum(object currentlySelectedEnum){ Type...
|