How to do a quick inline method with conditional?
-
12-11-2019 - |
Question
This is what I'd like to do:
string x = if(true) "String Val" else "No String Val";
Is that possible?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow