MonthlyRecurrenceRule rule =
rule.DayNumber = 0;
rule.WeekDays = WeekDays.Monday;
//last week is set
rule.Offset = -1
Above code set recurrencerule as the last Monday of every month.
This is not exactly what we asked in the original question.
In the original question, we ask for every day of the last week of every month
Eg, every day of the last week of February of 2010 is Sunday ( 2/28/2010)
every day of the last week of March of 2010 are Sunday (3/28/2010), Monday (3/29), Tuesday (3/30) and Wedesnday (3/31/2010)
We can do this using your configuration form. see attached.
How can we use recurrencerule to set this up in code.