I am new to the C# language and for the life of me I cannot figure out why this line will not fire when the three array tags match. Can someone help me out?
The code, you have mentioned is fine.. There must be something missing in btn array declaration. Can you please specify the code of declaring btn array or what operation you have performed before mentioned code?
DRISHTYPosted May 12, 2010, 12:45 AM
Jonathan VoeltnerPosted May 12, 2010, 7:59 AM
if (btn[0].Tag.Equals(btn[1].Tag) & btn[1].Tag.Equals(btn[2].Tag))
Thanks for the help
Bryian TanPosted May 11, 2010, 10:03 PM
What types of variables btn[x].Tag is?