Top "Null-propagation-operator" questions

The null-propagation operator, introduced in C# 6.0, eliminates the need for multiple null checks within a method call chain.

Why can't I use the null propagation operator in lambda expressions?

I often use null propagating operator in my code because it gives me more readable code, specially in long queries …

c# .net compiler-errors c#-6.0 null-propagation-operator
Null conditional operator to "nullify" array element existence

The new C# 6.0 null-conditional operator is a handy vehicle for writing more concise and less convoluted code. Assuming one has …

c# arrays null c#-6.0 null-propagation-operator
Operator '?' cannot be applied to operand of type 'T'

Trying to make Feature generic and then suddenly compiler said Operator '?' cannot be applied to operand of type …

c# generics delegates c#-6.0 null-propagation-operator