Click here to Skip to main content
15,908,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi please explain this

Button b=(Button)
Posted

Rather it should be:

Button b = (Button)object;
 
Share this answer
 
maheswarareddy wrote:
Button b=(Button)


This line has no sense and will give compile time error.

you can not assign a Type to a variable
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900