[Discussion] Code style for private access modifier #63
Unanswered
TanukiSharp
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
About getting rid off the
private
keyword, I think I see the point for MVU pattern where you may want to keep the code as compact as possible, like:But I would like to recommend keeping
private
explicit for 2 reasons:a. the whole .NET community code bases
b. the other accessors (
public
,protected
, etc...) are required, then whyprivate
wouldn't?Beta Was this translation helpful? Give feedback.
All reactions