77

What is C# internal keyword equivalent in VB.NET?

Blorgbeard
  • 101,031
  • 48
  • 228
  • 272
dannyrosalex
  • 1,794
  • 4
  • 16
  • 25

3 Answers3

114

It's Friend. See the MSDN documentation.

Will Vousden
  • 32,488
  • 9
  • 84
  • 95
18

C#'s internal in VB.NET is Friend.

Alex Budovski
  • 17,947
  • 6
  • 53
  • 58
7

Basically Internal and Friend are the same access modifiers in .Net where the Internal keywords is used in C#.Net and Friend is used in VB.Net

Vahid Farahmandian
  • 6,081
  • 7
  • 42
  • 62
BK_Menaria
  • 71
  • 1
  • 2