How to keep Open closed Principles between methods where only parameters different.
For example :
interface IDo()
{
void Do(string a)
}
}
Class DoFirst:IDo{}
if we need to extend parameters of the same function (void Do(string a,int b))
How to apply Open Closed Principle?
Thanks in advance

Dhirendra MisraRank #4,173 · 360 reputationPosted Jan 13, 2014, 12:42 AM EST
//Main function: How to call it
Hope it will give help you.