Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
How to: Access Command-Line Arguments Using foreach (C#)

Full Name:
How to: Access Command-Line Arguments Using foreach (C#)

Short Name:
How to: Access Command-Line Arguments Using foreach (C#)

Type of Entity:
C#

Abstract:
Another approach to iterating over the array is to use the foreach statement as shown in this example. The foreach statement can be used to iterate over an array, a .NET Framework collection class, or any class or struct that implements the IEnumerable interface.

MSDN Source URL:
http://msdn2.microsoft.com/kztbsa4b.aspx

 
COPYRIGHT/DISCLAIMER | CONTACT US