Monday, July 30, 2007

Overridable and Friend

Owing to C++ background, I 'assumed' that C# has a keyword called 'Friend' and which is similar to 'Friend' in VB.NET. Well, my assumption was wrong. The C# equivalent of VB's 'Friend' is 'Internal'.

Well, this time I was converting a small snippet from C# to VB and so came across need of using 'Virtual' in VB. I had absolutely no clue, what this must be, but found after a little googling that its 'Overridable' which makes a method or property Virtual in VB.net.

more reading