So I have a C# program, I get a List of objects that may or may not have what I want.
I'm searching these objects for a specific key, and if it exists, getting a specific value from them.
Assuming you don't want a null string even if it's explicitly set to one:c_BaseURL = globalattribs.Where(x => x.Key == "URL").FirstOrDefault()?.Value ?? "";