Array values = Enum.GetValues(typeof(MyEnumType)); foreach (MyEnumType val in values) { var enumName = Enum.GetName(typeof(MyEnumType), val); }
Monday, December 10, 2012
How to iterate an Enum in C#?
Why should not use Session variable for better performence in ASP.NET?
However, if two concurrent requests are made for the same session (by using the same SessionID value), the first request gets exclusive access to the session information. The second request executes only after the first request is finished.
http://msdn.microsoft.com/en-au/library/ms178581(v=vs.100).aspx
http://msdn.microsoft.com/en-au/library/ms178581(v=vs.100).aspx
Subscribe to:
Posts (Atom)