Is there any shorter/simpler way to do this?
if (Button1.Text == Button2.Text || Button1.Text == Button3.Text || Button1.Text == Button4.Text || Button2.Text == Button3.Text || Button2.Text == Button4.Text || Button3.Text == Button4.Text){ //do something }
maybe LINQ or something.
Thanks in advance