12
Reply

Can you overload static constructor?

    No, Static constructor can not have parameters.

    No

    No

    NO

    yes but static constructor can't access directly

    No, because you cannot invoke a static constructor explicitly, it is invoked implicitly by the run time before the objects are instantiated. Also, you cannot pass any parameters to a static constructor(its always parameter less) therefore it cannot be overloaded.

    No, You can't overload static constructor because.So you can not pass parameters in static constructor at run time that's why you can't overload it.

    No

    No, we can not overload static constructor.

    we can not overload static constructor because we can define static construtor only once within the call without parameters

    No, You can't overload static constructor because you have no control on which constructor will be call at run time.So you can not pass parameters in static constructor that's why you can't overload it.

    No you can't overload it; a static constructor is useful for initializing any static fields associated with a type