Split is an instance method, not a static member. So at least on 2.0, you
can not do "string.Split" or "String.Split". You can with an string
instance.
--
William Stacey [MVP]
| They do seem to be different...
| The Split method is not accessible when trying to use it as string.Split
but
| it is as String.Split
| If they are the same how could that be?
|
|
| <%= Clinton Gallagher
| NET csgallagher AT metromilwaukee.com
| URL
http://clintongallagher.metromilwaukee.com/
| MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W
|
| | > | > *I notice there are many terms in the .NET Framework like string and
| > String.
| > * What's the difference? Which should I use?
| > *
| > * I also see int and Int32. They are the same?
| > *
| > * Thanks,
| > * Ron
| > *
| > *
| >
| > Ron,
| >
| > They're the same.
| > String comes from the .NET class System.String and string (lower case)
is
| > a C# alias for System.String.
| > I often see devs interchange the .NET and C# aliases for various data
| > types; not sure why though.
| >
| > -MH
| >
| >
|
|