"Default Literal Method Invocations"

public string GetUserName(User u) {
	// ...
}



// Before
GetUserName(default(User)); // Passes null

// After
GetUserName(default); // Passes null


Code snippet taken from "Two Decades of C#: A Reference - C# 7".