A
AA2e72E
Why use overloading?
I have used it to allow for optional arguments.
It is also possible to use overloading to cater for arguments of different
types, I believe. E.G.
public string mymethod(string myarg)
{
}
public string mymethod(string[] myarg)
{
}
What are the implications of using overloading to cater for arguments of
different types?
Thanks for your help.
I have used it to allow for optional arguments.
It is also possible to use overloading to cater for arguments of different
types, I believe. E.G.
public string mymethod(string myarg)
{
}
public string mymethod(string[] myarg)
{
}
What are the implications of using overloading to cater for arguments of
different types?
Thanks for your help.