Fourth Year: All in Singapore!
When I write:
profile.LastName != null ? profile.LastName : " "
Resharper recommended coalescing into:
profile.LastName ?? " "
What's this? Any help is appreciated.
if profile.LastName is null then it will return " " else it will return profile.LastName. Basically the same as your first statement. more compact than the firs version is all. profile.LastName = profile.LastName ?? " ";
Yes, I know what it does. Just wondering what's the name/the theory or documentation/anything else than what it does.
Berarti ?? menunjukkan LastName yang tidak initial harus di set dengan apa. Cool jg.