I'm do meore and more with extention methods, totally cool. They are making
life much easier for IU developers. I'm trying to add a return type of struct
to a asp.net DropDownList of type struct. The idea is that if the conversion
to say Int32 failed and a default value was used i can also return a
Pass/Fail bool, int code to let the developer know that it failed or the
reason for the failure.
Where should the struse be defined for the return type? It's a simple
question, but i really don't know the answer.
Has anyone else done this and do you know and artical or have an example.
thanks!!!
--
Share The Knowledge. I need all the help I can get and so do you!
life much easier for IU developers. I'm trying to add a return type of struct
to a asp.net DropDownList of type struct. The idea is that if the conversion
to say Int32 failed and a default value was used i can also return a
Pass/Fail bool, int code to let the developer know that it failed or the
reason for the failure.
Where should the struse be defined for the return type? It's a simple
question, but i really don't know the answer.
Has anyone else done this and do you know and artical or have an example.
thanks!!!
--
Share The Knowledge. I need all the help I can get and so do you!
Comment