0
What is it mean this code??in c#
Button button = (Button)sender;
3 Antworten
+ 4
By casting it to a button you can use/access any public members of the object.
Dog dog = (Dog)Animal;
dog.bark();
dog.attack();
dog.getName();
It is a object of type Dog.
+ 1
ok what is benefite from it