In one of my applications I needed to display the range of a week knowing only the week number from a specific year. After I realize that a functionality like this is not provided out of the box I had to do some research.
I started with a DateTime extension that I founded at http://stackoverflow.com/questions/38039/how-can-i-get-the-datetime-for-the-start-of-the-week
Ok. This will help me to find the first day of a week for a given date. Next only to test I created a console application where given a date I found the week number and after that I print the week range.
At the beginning we have to establish the first day of the week. The reason is that in different cultures the week can start on Monday, Sunday or who knows what day.
public static DayOfWeek firstDayOfWeek = DayOfWeek.Monday;
The rest of the code is simple. I added the data as string to simulate the reading from a config file. Here it is:
The output of this is:
Hope this helps.