C# capitalization convention private methods
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 19h 10m
- Merged PRs (30d)
- 268
Description
**Issue description**
Looking into C# capitalization conventions, I can't seem to find any convention regarding private methods.
On this page it mentions methods but does not explicitly mention private methods:
https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/capitalization-conventions https://github.com/dotnet/docs/blob/e619ad35ae2352dae87c3efa261f1763e86c876e/docs/standard/design-guidelines/capitalization-conventions.md?plain=1#L51
---
The runtime [repository](https://github.com/dotnet/runtime/) has a coding-style where they explicitly mention `We use PascalCasing for all method names, including local functions.` see: [https://github.com/dotnet/runtime/blob/main/docs/coding-guidelines/coding-style.md](https://github.com/dotnet/runtime/blob/main/docs/coding-guidelines/coding-style.md)
Whatever the official convention is, it would be nice if it could be added to the documentation so it's clear to everyone wanting to follow Microsoft's capitalization conventions and other best practices.
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.