How many times have you written code such as: Customer[] customers = Customer.GetAllActiveCustomers(); foreach (Customer c in customers) { Debug.WriteLine("Name:" + c.Name); Debug.WriteLine("Age:"… more →
Tone's Enterprise Dot Net Blogmikesmode wrote 1 day ago: The following code demonstrates how to insert the contents of a CSV file into a SQL table using a mi … more →
ramanisandeep wrote 1 month ago: Question: for should be used instead of foreach to iterate over collections in performance-critical … more →
sevenlamp wrote 3 months ago: တခါတေလ ကြၽန္ေတာ္တို႔ Looping ေတြထဲမွာ looping variable မပါတာမ်ိဳးလည္း ရွိပါတယ္။ looping ကို အၾကိမ္အေ … more →
earwicker wrote 4 months ago: Assuming we have: public class Base {} public class Derived : Base {} public class Unrelated {} We c … more →
udhaya47 wrote 7 months ago: foreach (Control c in this.Controls) { if (c is TextBox) { if (((TextBox)c).Text == “”) … more →
Praful wrote 7 months ago: ucfirst :: (PHP 4, PHP 5) ucfirst — Make a string’s first characte … more →
chilloxk wrote 10 months ago: The lab for monday is almost entirely the same as the DVD labs. Here I’ll post some minor bits … more →
Nick Masao wrote 10 months ago: I’m sure one of you has come to a point where they thought, should I use a For loop or a For E … more →
Zurahn wrote 10 months ago: This site uses the Prototype.js JavaScript library, primarily for the excellent AJAX methods. But t … more →
edsyrett wrote 1 year ago: We have a whole bunch of stylesheets in our project. Unfortunately, our release build had the filen … more →
howardchong wrote 1 year ago: It took me more than 10 minutes to figure out, so I’m posting this tip here. I needed to loop … more →
me2blog wrote 1 year ago: will often want to do sth to all the elements in the array. So u need to walk through every element … more →
Roy Antony Arnold wrote 1 year ago: Download notes for foreach loop Notes – foreach loop … more →
phpkituz wrote 1 year ago: Hi. Quote from Ronii on August 07 2008 11 10 11 pm. All Anyone knows how to resolve the issue of 117 … more →
drieick wrote 1 year ago: Which to use for an array? The answer is: foreach. Not only would you be able to get the keys and va … more →
Venkat Shiva Reddy wrote 1 year ago: Iterators enable iterations (or looping) on user defined data types with the C# foreach loop. Curren … more →
sto1c wrote 1 year ago: I’ve been working on a website for a friend. He’s developing video games (in college) wi … more →
tonywr wrote 1 year ago: How many times have you written code such as: Customer[] customers = Customer.GetAllActiveCustomers( … more →
The.Anti.9 wrote 1 year ago: ok so this is a little code snippet. Lets say I have 10 text files in a folder and I want to add my … more →