Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# shorthand if statement without else

someBool = (someStatement) ? true : someBool;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shorthand #statement
ADD COMMENT
Topic
Name
8+5 =