U
UJ
Is there a way to make a parameter optional in a web server? I've got two
routines that will work almost exactly the same except that one needs an
extra parameter to do a check. I supposed I could something like:
public int WithOneParm ( int parm1 )
{
}
public int WithTwoParm (int parm1, int parm2 )
{
// Do what is needed for this.
WithOneParm ( parm1 );
}
but I'd love to be able to have just the one routine.
TIA - Jeff.
routines that will work almost exactly the same except that one needs an
extra parameter to do a check. I supposed I could something like:
public int WithOneParm ( int parm1 )
{
}
public int WithTwoParm (int parm1, int parm2 )
{
// Do what is needed for this.
WithOneParm ( parm1 );
}
but I'd love to be able to have just the one routine.
TIA - Jeff.