0

C# access modifier

Does the private access modifier make sense to use when the private function contains several statements, so through another function the private function can be called? I think private is only for this, I don't think it makes sense to make a variable private and then call it using a function, right?

7th Feb 2023, 9:43 AM
Giovanni Paolo Balestriere
Giovanni Paolo Balestriere - avatar
1 Antwort
+ 2
Can you provide an example via a Codebit?
7th Feb 2023, 10:24 AM
Justice
Justice - avatar