dotnet / dotnet/docs

This article (or this section) should discuss `static` classes and when to create them

Open
#42,512 0 comments 0 reactions 0 assignees View on GitHub
dotnet-csharp/svc fundamentals/subsvc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

### Type of issue

Missing information

### Description

Overall, this section need to provide guidance for people trying to decide between a tuple, a `struct`, a `class`, a `record` (both `record class` and `record struct`) an `interface`, and a `static class`.

While it's not always clear, some guidance should be added.

### Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/classes

### Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/fundamentals/types/classes.md

### Document Version Independent Id

cd6c869c-fcc9-eb27-4ec0-94cb1e961a88

### Article author

@BillWagner

### Metadata

* ID: 63989d15-db4e-9873-2cf7-77634496fe4e
* Service: **dotnet-csharp**
* Sub-service: **fundamentals**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.