What is the proper way to check for null values? December 19, 2022 by Tarik What about string y = (Session["key"] ?? "none").ToString();