Skip to content

static and instance parameterless constructors #47973

@BillWagner

Description

@BillWagner

Type of issue

Missing information

Description

From anonymous feedback:

Can a standard constructor AND a static constructor be used in the same class with BOTH of them having NO parameters, not just the static constructor?

Yes, this is allowed, and the article should state that clearly.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/constructors

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/programming-guide/classes-and-structs/constructors.md

Document Version Independent Id

7f3cd611-9d80-4523-6ba5-17e1e9ab5c67

Platform Id

b9778cfa-3239-7384-359d-bf5c8714b98b

Article author

@BillWagner

Metadata

  • ID: 754eaea9-3482-4a69-5b65-ebe4a5065597
  • PlatformId: b9778cfa-3239-7384-359d-bf5c8714b98b
  • Service: dotnet-csharp
  • Sub-service: fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions