C# Programming
05-21-2010, 06:41 AM
So I have a dictionary with DayofWeek and Int.
I need to find out how to populate the Dictionary then with the Days and and integer increase.
for example right now I create a dictionary:
Dictionary dicFindDates = new Dictionary();
then I get the day of week it is for example today is "Thursday"
DayOfWeek dowStartDay = (DayOfWeek)Enum.ToObject(typeof(DayOfWeek), (int)S.StartOfWeek);
then I add to the dictionary
dicFindDates.Add(0,DayofWeek)
while (i
I need to find out how to populate the Dictionary then with the Days and and integer increase.
for example right now I create a dictionary:
Dictionary dicFindDates = new Dictionary();
then I get the day of week it is for example today is "Thursday"
DayOfWeek dowStartDay = (DayOfWeek)Enum.ToObject(typeof(DayOfWeek), (int)S.StartOfWeek);
then I add to the dictionary
dicFindDates.Add(0,DayofWeek)
while (i