삽질을피하는방법
Monday, August 28, 2023
simplify C# null check . if(~ !=null) { } is ~? syntax.
if( X != null)
{
X.doSomething();
}
make simple like this
X?.doSomething();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment