[RESOLVED]How is this polymorphism ... [/RESOLVED]
I am newbie and tryin to learn C#.. I understand what is polymorphism but I dont understand how
this is polymorphic behaviour
1. Create a new Windows application
2. Add a new Button control using the Toolbox, and position it in the center of Form1
private void button1_Click(object sender, System.EventArgs e)
{
((Button)sender).Text = "Clicked!"; //HOW IS THIS Polymorphic behaviour
}
Re: How is this polymorphism ...
It's not polymorphism. If you search for the term you should be able to find a ton of good examples of it though.
Re: How is this polymorphism ...
Thanks though for confirming my suspicions...
stupid book Beginning Visual C# 2010 mentions it as polymorphic behavior.......
Re: How is this polymorphism ...
mark your thread resolved please.