parameter name from params
-
When using params is it posible to get the name of the parameter passed or only the value? Params is useful when you are not sure of the number of parameters, but if I'm not sure of the number, how can I be sure enough to blindly say: FirstName = paramList[0]; LastName = paramList[1]; Thanks, Robert
-
When using params is it posible to get the name of the parameter passed or only the value? Params is useful when you are not sure of the number of parameters, but if I'm not sure of the number, how can I be sure enough to blindly say: FirstName = paramList[0]; LastName = paramList[1]; Thanks, Robert
Nevermind, I just spent 5 hours over-thinking the simplest thing. I'm always trying to use a ray gun. Robert
-
Nevermind, I just spent 5 hours over-thinking the simplest thing. I'm always trying to use a ray gun. Robert
Rbledwards wrote: I just spent 5 hours over-thinking the simplest thing. I'm always trying to use a ray gun. Don't you hate that? And then the overwhelming feeling of "How stupid can I be?" when you see that there really is an easier way to do it... I once spent an entire day trying to rewrite something that was already in the .NET framework...that was depressing...
youd ebtter bnot be taki8ng agvantage o f my mental abilites!1 -David Wulff one night over MSN while totally plastered
-
Rbledwards wrote: I just spent 5 hours over-thinking the simplest thing. I'm always trying to use a ray gun. Don't you hate that? And then the overwhelming feeling of "How stupid can I be?" when you see that there really is an easier way to do it... I once spent an entire day trying to rewrite something that was already in the .NET framework...that was depressing...
youd ebtter bnot be taki8ng agvantage o f my mental abilites!1 -David Wulff one night over MSN while totally plastered
Twice recently I've tried all kinds of things to get something to work, only to find out that I forgot to convert a numeric value to
double
before comparing. You'd think I'd learn..."Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi -
Twice recently I've tried all kinds of things to get something to work, only to find out that I forgot to convert a numeric value to
double
before comparing. You'd think I'd learn..."Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi