why does c# yield c++ impression 'friend' keyword?
the allows class a suitable class b the friend. allows class b opening private/protected members class a.
i've never review anything since left out c# (and vb.net). many answers seem observant useful biased c++ there good reasons it. trust i'd have agree.
another seems me unequivocally seeking something identical friend c# application. while answers generally revolve around nested classes, doesn't seem definitely glorious controlling friend keyword.
the uncanny uses frequently via the examples.
so summary, since friend blank c#, "best practice" proceed (or ways) simulating c#?
(by way, internal keyword not same thing, allows all classes within whole public opening internal members, while friend allows give certain category complete access exactly one class)
Comments
Post a Comment