overloading

kvprajapati commented: Take a care to post a question. -3

Recommended Answers

All 2 Replies

Overloading methods are available in asp.net where Same Method name exist with mutiple parameter passing.
example .. private int xyz(a,b){}

same method also exist with overloading..private int xyz(a,b,c){}

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.

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.