Friend

  • Thread starter Thread starter Nicholas Paldino [.NET/C# MVP]
  • Start date Start date
N

Nicholas Paldino [.NET/C# MVP]

The closest thing that you have in C# is the internal keyword, which
means that any other type in the same assembly can access the member/type.

Hope this helps.
 
There are no 'friend' functions in C#.

internal:
Access is limited to the current project.

protected internal:
Access is limited to the current project or types derived from the
containing class.
 
Back
Top