Did you not notice such methods as "Split", "EndsWith and "StartsWith"?
Everything in .NET is an object. Even basic types such as integers and
singles are derived from Object. This is why they have the .ToString method
for example.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Brett" <no@spam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... "Brett" <no@spam.com> schrieb: In VB .NET everything is supposed to be an object. Say I have a report
title hard coded in a method. When a method is called, is the returned
title an object or a string?
It's a string object.
What exactly does that mean? What is the difference between a string and
a string object?
The string returned has no properties, methods and cannot be instantiated.
Why would it be considered an object?
Thanks,
Brett