aspdotnet_website_programming thread: why? new IDataparameter[]{}
Can anybody give me some insight about this statement from Marco
Bellinaso's book asp.net website programming.
return RunProcedure("sp_Accounts_GetUsers", new IDataParameter[]
{}, "Users");
How can you possiblly "new" an Interface (IDataParameter)? Why is this a
good programming practice? If it's legal, why is it allowed here just to
confuse people? Is there any ratinale behind this quirky practice?
JT Confused
|





