re: Write a function that shows off something unique or interesting about the language you're using VIEW POST

VIEW FULL DISCUSSION
 

C# and null safe navigation

// baz is null
// doesn't throw null refernce exception
return foo?.bar?.baz?.bim?.bo?.ban; //returns null

Saves sooo many null checks...

code of conduct - report abuse