public string?GetNameForSlot(int slot) { return(VariableNames.Any(v => v.Index == slot) ? VariableNames.First(v => v.Index == slot).Name : null); }