Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.
overloading
Method overloading is created by passing more or different variables through a method with the same name as another.
public void Method1(string Parameter1, int Parameter2)
{
}
public void Method1(double Parameter1, float Parameter2)
{
}
public void Method1(string[] Parameter1, int Parameter2, bool Parameter3)
{
}
This type of programming known as 'overloading' allows the developer to create multiple copies of a method that usually have the same functionality but with different parameter types.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.