Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC#extension methodsSingle-choice MCQ

What is special about calling an extension method on a null reference?

public static bool IsBlank(this string s) => string.IsNullOrEmpty(s); string x = null; bool r = x.IsBlank();