Private constructors just prevent "outside" classes from creating any instances - they are mostly used for Singleton classes. But that has no effect at all on
static
items because they do not require an instance to work at all.
So this:
public MyClass
{
private MyClass() {}
public static myProperty { get; set; }
public static int myMethod( int x) { return x * 2; }
public MyClass GetInstance() { return new MyClass(); }
}
myProperty
,
myMethod
, and
GetInstance
are all accessible by outside code.