Why is Array.sort called shared

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

I'm reading in book and it says the following.

They say that
Array.Sort(ar);
is a shared/static method

This sort method is indeed a static method which is correct but
what does they mean when they say that it's shared ?

//Tony
 
Hello!

I'm reading in book and it says the following.

They say that
Array.Sort(ar);
is a shared/static method

This sort method is indeed a static method which is correct but
what does they mean when they say that it's shared ?

//Tony

VB.NET uses the keyword Shared to declare static members.
 
Tony Johansson wrote :
Hello!

I'm reading in book and it says the following.

They say that
Array.Sort(ar);
is a shared/static method

This sort method is indeed a static method which is correct but
what does they mean when they say that it's shared ?

//Tony

the C# keyword "static" is in VB "shared"

Hans Kesting
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top