public static void Main()
var c1 = new MyClass("test");
Console.WriteLine(c1?.name);
Console.WriteLine("hrlo");
Console.WriteLine(string.IsNullOrWhiteSpace(c2?.name));
public MyClass(string name){
private static void Print(string printStatement){
if(string.IsNullOrEmpty(printStatement)){
Console.WriteLine("Name is Null from the IsNullOrEmpty extension method System");
Console.WriteLine(printStatement);