VB .NET what does Tostring() does

I have this code

Page.Response.Write("User Count : " & Application("userCount").ToString())

and I am not sure why .Tostring () is there and what it actually does. Could someone explain that to me.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

it is the function to convert the data to a string data type.
or more specifically it is a method that "Returns a String that represents the current Object"
syedasimmeesaqAuthor Commented:
where can I find the list of all the function that I can use.
Its more about classes and methods than traditional ASP functions really.
Dig around the .Net Framework Class Library and see if that helps any.
The link is to .NET 2.0 but if you want a different one the links are there on the right side once you get to the page.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jaime OlivaresSoftware ArchitectCommented:
every .Net class has a ToString() method, to allow to convert it to a string and be used or combined with other strings.
Also you can do this:

Page.Response.Write(String.Format("User Count : {0}", Application("userCount")))

String.Format() will invoke automatically the ToString() method.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.