Vertika Chauhan
Drawback of using static member globally inside the class in c#

Only one copy of static member is created regardless of how many instance of class is created . This will work fine if your application is single user but for multiple user if uses same class then this static member will create problem as it will not reset the value for different user session and will assign the value which is used by previous session user .So while having multiple session in your application use static keyword wisely

By Vertika Chauhan in .NET on May 21 2020

Most Popular Job Functions


MOST LIKED QUESTIONS