Ternary conditional Operator


txtActualDate.Text != string.Empty ? txtActualDate.Text="true" :txtProposedDate.Text="true";

string b = (a < 2) ? "true" : "false";
Ebook Download
View all
Learn
View all