I forgot the syntax of a C# statement and I don't even know the name....
lets say you have a boolean, call it connected, and i want to set some text depending on the connected status. i know there is a simple "one liner" statement but i forgot the syntax and i don't know the name of the type of statement so i can google search it.
here is something close to what i am looking for. the syntax looks something like the following:
string title = ( connected : "[Not Connected]", "[Connected]");
thanks!