List<Hangfire.Storage.RecurringJobDto> recurringJobs = new List<Hangfire.Storage.RecurringJobDto>();
recurringJobs = Hangfire.JobStorage.Current.GetConnection().GetRecurringJobs().ToList();
GetRecurringJobs() is an extension method. You need to add “using Hangfire.Storage” (the most common element missing in any C# documentation!).