Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# shorthand if statement without else

if (someStatement)
{
    someBool = true;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shorthand #statement
ADD COMMENT
Topic
Name
6+7 =