Building custom types
Last updated
public class TestClass
{
public TestClass () {}
public TestClass (int value) { }
}public class TestClass
{
public TestClass(int value) { }
public TestClass(int value, string anotherValue) { }
}public class TestClass
{
private TestClass () {}
public static TestClass Create(int value) => new TestClass();
public static TestClass Create(int value, string anotherValue) => new TestClass();
}