Gurneet,
Not sure about #1 but a partial answer to #2 would be that while foreach
may give marginally better performance, it will give read-only access.
Amit
-----Original Message-----
From: Gurneet Singh Jodhka [mailto:Gurneet_Jodhka@i...]
Sent: Tuesday, March 18, 2003 3:59 AM
To: ASPX_Professional
Subject: [aspx_professional] Quick Doubts
Which on is preferrable to use from Performance and conceptual point of
view
1)Session.Remove("variable") or Session("variable")=3Dnothing
2)For each vs for loop
Regards
Gurneet Singh Jodhka