Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
check if multiple variables are null c#
language learner
Programming language:
C#
2021-05-23 20:28:25
0
Q:
check if multiple variables are null c#
chenyi zhou
Code:
C#
2021-03-23 09:00:46
if((string1 ?? string2 ?? string3 ?? string4 ?? string5 ?? string6) == null){ ;}
0
Tags
multiple
variable
check
var
Related
c# null conditional operator if statement
c# 8 null coalescing assignment
null coalescing operator c#
c# return two variables of different types
intialize multiple variavles in c#
c# check if int is null
c# multiple template constraints
can you have multiple statement in a case c#
read in multiple numbers c#
c# distinct comparer multiple properties
trhow exception if is null c#
distinct and not null c#
c# method returns multiple values
c# null conditional
c# return default "" if null
c# if statement with 2 conditions
C# check many strings quickly
New to Communities?
Join the community