Reporter | Sergey Coox (coox) |
---|---|
Created | Apr 6, 2012 12:47:17 PM |
Updated | Apr 6, 2012 4:22:52 PM |
Resolved | Apr 6, 2012 4:22:07 PM |
Priority | Critical |
Type | Bug |
Fix versions | 7.0 |
State | Fixed |
Assignee | Olga Lobacheva (olka) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; namespace ClassLibrary1 { public class Class2 { protected void Date_Changed(object o, EventArgs e) { DateTime selectedDate = DateTime.Now; for (int index = 0; index < 7; index++) { int addedDays = (int)(index - selectedDate.DayOfWeek); // here } } } }