i have a master detail soultion and in detail class i add many simple property
program is run very well
but i trace program and break point in one of simple property code
it run and run and run many times and no exit of breakpoint
whereas
i have ten record in detail and i idea this code in trace mode run TWICE ten
this code is Detail table class :
private static int s;
public string test
{
get
{
s=s+1;
return S;
}
}
i run program and see the property in a datagrid but change current row in datagrid s increase