[ranting] Never used VB.NET and I'm pretty sure I'll never use it. Microsoft had the unique chance to design it right this time (as they scrapped the old VB anyway) and still managed to fubar it with all these new keywords, "features" and silent defaults. No offence here to any VB.NET programmers and I don't want to start any religious wars here, but IMVHO VB.NET is the dumbest (and not needed) programming language on earth. While I still think VB (6) was really useful for quick testing C++ COM components and for building semi-complex UI-intensive apps, VB.NET is useless when there's C#.
On 7/8/06, David Lanouette <[EMAIL PROTECTED]> wrote:
Just looked in the SDK docs. From the VB Language Reference section on the Function keyword ... Overridable Optional. Indicates that this Function procedure can be overridden by an identically named procedure in a derived class. Overridable is the default setting for a procedure that itself overrides a base class procedure. NotOverridable Optional. Indicates that this Function procedure cannot be overridden in a derived class. NotOverridable is the default setting for a procedure that does not itself override a base class procedure. ... So it seems that VB doesn't default to virtual, unless it's overriding an existing method. ______________________________ - David Lanouette - [EMAIL PROTECTED] "Excellence, then, is not an act, but a habit" - Aristotle > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Frans Bouma > Sent: Saturday, July 08, 2006 2:59 AM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Virtual methods in .NET - was > Implementing an Interface - C# vs. VB.NET > > > Virtual is default in VB.NET, not in C#... > > No, it's not :) > > FB > > > =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
-- Cheers, Stoyan =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com