Posted on: 5/17/2013 9:01:50 AM | Views : 220

Hi,
In an asp.net application,in a class or page code behind
1. If A varible declared as static will the values be shared by all the user? For example User A  changed the static variable value then User B value is also changed(Because i have seen a static varible is shared between the users).
2. If a method is declared as static and performs a normal data base operation, is the method is uniquly executed for the concurrent users?
3. Will webmethod which is declared as static can perform its operation uniquly for concurrent users(in case call with jquery)?
Please Help me I am confused with static keyword.
Is there any help for when to use static and when not to use static.
Thanks & Regards
Previn S
...

Go to the complete details ...