Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method overload requires Public declaration
Message
From
06/05/2011 16:20:32
 
 
To
06/05/2011 16:14:40
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01509881
Message ID:
01509886
Views:
49
>You said the method was private, not where it was being called from.
>
>I just tried this in C# and it compiles and runs.

I was surprise also when I run it. This is all within the same class. This was however the first time I overloaded a method which had no need to be public. So, I thought I would make it safe and simply declare it as private. I do not know if there could be a difference between VB.NET and C# in regards to that. I will have to check that out later on.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform