What is the equivalent of a \'friend\' keyword in C Sharp?
How do I use the \'internal\' keyword?
I have read that \'internal\' keyword is a replacement for \'fr
internal is the C# equivalent of the VB.NET friend
keyword, as you have guessed (as opposed to a replacement)
Usage is as follows
internal void Function() {}
internal Class Classname() {}
internal int myInt;
internal int MyProperty { get; set; }
It, basically, is an access modifier that stipulates that the accessibility of the class / function / variable / property marked as internal is as if it were public to the Assembly it is compiled in, and private to any other assemblies