Cannot convert lambda expression to type 'System.Linq.Expressions.Expression<System.Action>' because it is not a delegate type

recurring
Tags: #<Tag:0x00007f499734d8b0>

#1

public void Configuration(IAppBuilder app)
{
GlobalConfiguration.Configuration.UseSqlServerStorage(“sqlcn”);
RecurringJob.AddOrUpdate(() => Console.WriteLine(“Hello”),Cron.Minutely());
app.UseHangfireDashboard();
app.UseHangfireServer();

        }
        
    }

In this code, I have this error:-
Cannot convert lambda expression to type ‘System.Linq.Expressions.Expression<System.Action>’ because it is not a delegate type.
Please Help Me.!