- Joined
- Mar 8, 2006
- Messages
- 498 (0.08/day)
Processor | Celeron 430 (Conroe-L) |
---|---|
Motherboard | ASUS Rampage Formula |
Cooling | Water, Zalman Reserator XT |
Memory | Corsair Dominator PC2-8500 DDR2-1000 |
Video Card(s) | Visiontek 2600 PRO |
Storage | Maxtor Maxline 3, more Maxtors |
Display(s) | Acer P243w 24" |
Case | Aspire X-Navigator ATXA9N-BK |
Audio Device(s) | Mbox |
Power Supply | Thermaltake Toughpower 750w |
Software | Protools and a bunch of racing games... |
I'm totally green on C#. Just got bored and decided to port one of my java apps to C# to see how it would go. Turns out its 90% cut and paste lol. Anyway...
In java i have a for loop that basically reads "for each suit in cards.suits, <execute code>".
This is written in java as "for (Card.suits S: Card.suits.values()){execute code}".
How would i go about doing this in C#?
In java i have a for loop that basically reads "for each suit in cards.suits, <execute code>".
This is written in java as "for (Card.suits S: Card.suits.values()){execute code}".
How would i go about doing this in C#?