Static vs Abstract Concepts #9083
-
Type of issueOther (describe below) DescriptionI want to raise discussion on the concepts of Static and Abstract classes. Page URLContent source URLhttps://github.com/dotnet/csharpstandard/blob/draft-v8/standard/classes.md |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
If you want to propose a language change to disallow I believe such a breaking change would be rejected, though. There is too much code using |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Moving to csharplang, as this is a feature request. As has already been commented, this is not likely because it is a breaking change that would impact a sizeable set of C# code already is use. |
Beta Was this translation helpful? Give feedback.
-
I see 350,000 cases where this is used: https://grep.app/search?q=static%20class&case=true&words=true&filter[lang][0]=C%23 We will not be removing this as this would break the entirety of the ecosystem for no good reason. |
Beta Was this translation helpful? Give feedback.
-
I think extensions are the only language feature that require declaring a class as |
Beta Was this translation helpful? Give feedback.
I see 350,000 cases where this is used: https://grep.app/search?q=static%20class&case=true&words=true&filter[lang][0]=C%23
We will not be removing this as this would break the entirety of the ecosystem for no good reason.