C# has a special syntax for simultaneously testing and "destructuring" a nullable value type. It is something like "if (Value b is not null = c) {", and if "c" is non-null its value is assigned to b. I've used this a dozen times but I can't remember the syntax and also I cannot search for it because Google returns nothing but stack overflow questions from 2012, which predate whatever this syntax is. Does anyone remember this?

For example, here I am trying to access field "x" from a struct "B3":

if (b is not null)
{
OnScreenLog.Add("Cube " + b.x);
}
"B3? does not contain a definition for x"
0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/mcc/statuses/114825078838440271 on your instance and quote it. (Note that quoting is not supported in Mastodon.)