NinetyNine's Treasure

| 积淀*育创新 智慧创造价值|

导航

for(int i=0;i<this.chkBoxList_Power.Items.Count;i++)
                                    
{
                                        
if(chkBoxList_Power.Items[i].Selected==true)
                                        
{
                                            power[i] 
= 1;
                                        }

                                        
else
                                        
{
                                            power[i] 
= 0;
                                        }

                                    }
为什么系统报错说:第一个power[i],未将对象引用设置到对象的实例?