3
ফরচ লুপ এবং ভেরিয়েবল ইনিশিয়েশন
কোডের এই দুটি সংস্করণের মধ্যে কি পার্থক্য রয়েছে? foreach (var thing in things) { int i = thing.number; // code using 'i' // pay no attention to the uselessness of 'i' } int i; foreach (var thing in things) { i = thing.number; // code using 'i' } বা সংকলক …
11
c#
performance
memory