المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : What is the best practice for keeping an instantiated object globally accessible thro



C# Programming
05-19-2009, 11:10 AM
I need to keep a logged in user's details and permissions kept in a globally accessible object. Was thinking that I could create the instance in the program.cs class but isn't there any better way to do this?