What does this line of code do? "variable = condition ? true : false"
Posted
by Sergio Tapia
on Stack Overflow
See other posts from Stack Overflow
or by Sergio Tapia
Published on 2010-05-06T17:08:42Z
Indexed on
2010/05/06
17:28 UTC
Read the original article
Hit count: 227
c#
What does this C# code mean?
btnOK.Enabled = txtNick.Text.Length > 0 ? true : false;
© Stack Overflow or respective owner