Answers for "c# class responsible for creating instances"

C#
0

c# class responsible for creating instances

public class BusinessObject
{
    private BusinessObject(string property)
    {
    }

    public class Factory
    {
        public static BusinessObject CreateBusinessObject(string property)
        {
            return new BusinessObject(property);
        }
    }
}
Posted by: Guest on December-05-2021

Code answers related to "c# class responsible for creating instances"

C# Answers by Framework

Browse Popular Code Answers by Language