vendredi 24 juin 2016

in C#, what is the best way to have a global property but can be changed only by single class

I have a property e.g. rate which must be available through out the application to all classes as a readonly property, but admin should be able change it at any time.

What is the best way to achieve that in OOP world?

Aucun commentaire:

Enregistrer un commentaire