¡@

Home 

c# Programming Glossary: businessclass

Factory pattern in C#: How to ensure an object instance can only be created by a factory class?

http://stackoverflow.com/questions/515269/factory-pattern-in-c-how-to-ensure-an-object-instance-can-only-be-created-by-a

so why dont you just create a static method inside the BusinessClass that does all the dirty myProperty checking work and make the.. checking work and make the constructor private public BusinessClass public string MyProperty get private set private BusinessClass.. public string MyProperty get private set private BusinessClass private BusinessClass string myProperty MyProperty myProperty..