PDA

View Full Version : سوال: این کد به چه معنیه؟



i-php-i
شنبه 04 مرداد 1393, 23:52 عصر
این کد یه آرایه ایجاد می کنه یا یه کلاس؟ ServiceReference1.TempProducts[] tempProduct = new ServiceReference1.TempProducts[1]; tempProduct[4] = new ServiceReference1.TempProducts(); tempProduct[4].Id = 24312; tempProduct[4].Count = 1; tempProduct[4].DisCount = 4; tempProduct[1] = new ServiceReference1.TempProducts(); tempProduct[1].Id = 3303; tempProduct[1].Count = 1; tempProduct[1].DisCount = 4;

mo.jalilian
سه شنبه 07 مرداد 1393, 21:33 عصر
یک لیستی از یک کلاس رو میسازه