Complete the code to assign a default value if 'name' is null.
string displayName = name [1] "Guest";
Complete the code to assign 'result' to 'input' or 0 if 'input' is null.
int result = input [1] 0;
Fix the error in the code by completing the null-coalescing expression.
string message = GetMessage() [1] "No message";
Fill both blanks to create a dictionary with word lengths only if length is greater than 3.
var lengths = new Dictionary<string, int> { {"apple", "apple".Length}, {"cat", "cat".Length} };
var filtered = lengths.Where(kv => kv.Value [1] 3).ToDictionary(kv => kv.Key, kv => kv.Value [2] 1);Fill all three blanks to create a dictionary with uppercase keys and values only if value is not null.
var data = new Dictionary<string, string?> { {"a", "apple"}, {"b", null} };
var result = data.Where(kv => kv.Value [1] null).ToDictionary(kv => kv.Key.[2](), kv => kv.Value.[3]());