I'm know how to check if two variable are the same but not sure how to check if three or more variables are equal to the same. The below does not compile if anyone can help me please.
Thanks
Matthew


Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Nov 12, 2012, 5:24 AM
Debug,WriteLine(row1== row2 && row2 == row3);
Similar expressions can be constructed to check whether more than three values are the same.
VulpesPosted Nov 12, 2012, 7:22 AM
Personally, I always use Google Chrome when dealing with this site and never upload code.
I always copy and paste it as pure text - usually into notepad first so I have a backup if it gets lost in the ether when I click the 'Post' button :)
Matt HigginsPosted Nov 12, 2012, 6:10 AM
Thanks should do the trick!!
Also when do I have to click Upload Source Code: and then browse for a file to upload code every time - whenever I copy and paste code into IE, it always corrupts it.