public shared function
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: public shared function

  1. #1
    Join Date
    Jul 2007

    public shared function

    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.


  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    Re: public shared function

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a survey!

HTML5 Development Center