Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# check that value is not null or 0

public static bool IsNullOrValue(this double? value, double valueToCheck)
{
    return (value??valueToCheck) == valueToCheck;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #null
ADD COMMENT
Topic
Name
7+6 =