G
Gav
Can you overload functions in .NET?
I using C# I used to use C++ and in this I could declare a function as:
func1()
{
}
and I could also declare a function as:
func1(string sParam1)
{
}
then depending on whether or not I call:
func(); or
func(somestring);
it would call one or the other. Can I not do this anymore in C#.NET?
Thanks
Gavin
I using C# I used to use C++ and in this I could declare a function as:
func1()
{
}
and I could also declare a function as:
func1(string sParam1)
{
}
then depending on whether or not I call:
func(); or
func(somestring);
it would call one or the other. Can I not do this anymore in C#.NET?
Thanks
Gavin