Click to See Complete Forum and Search --> : public shared function


doglin82
April 6th, 2010, 06:37 PM
is that basically the same as a static function in C#, where you don't have to create an instance, you can just call the method on a class?

I am new to VB.NET and need to do some coding in it.

Please let me know.


Thanks,

HanneSThEGreaT
April 7th, 2010, 03:05 AM
The term Shared means that it is shared accross all instances of a class and because of that, you don't need any particular instance to use it, so yes, it is the same as static