C# iteration

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arne Garvander

    #1

    C# iteration

    How do I iterate throgh the Attributes collection

    Attributes.Keys
    --
    Arne Garvander
    (I program VB.Net for fun and C# to get paid.)
  • David Hogue

    #2
    Re: C# iteration

    Arne Garvander wrote:[color=blue]
    > How do I iterate throgh the Attributes collection
    >
    > Attributes.Keys[/color]

    foreach(string key in Attributes.Keys )
    {
    string value = Attributes[key];
    }

    --
    David Hogue

    Comment

    Working...