Hi B.Tripati Patro,
its really Nice one...
Sorry for the disturbance...
I am working in 3.5 framework.So i am not check my doubt in this framework.
If i am using Method Overloading concept in your above code means which method access if i call
DefalutValueMethod() ...
For example...
private void UseDefaultValue()
{
DefalutValueMethod("Codes");
DefalutValueMethod();
}
private void DefalutValueMethod()
{
MessageBox.Show("No Parameter");
}
private void DefalutValueMethod(string sectionType = "Articles")
{
MessageBox.Show(string.Format("DotNetFunda includes: {0} section.", sectionType);
}
Kindly check it out and inform to me because i am using 3.5 framework.