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]
"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.comwro te in message
news:O6**************@TK2MSFTNGP02.phx.gbl...
| 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
|
| "Michael" <mh***@domain.comwrote in message
| news:%2****************@TK2MSFTNGP05.phx.gbl...
| *"Ronald S. Cook" <rc***@westinis.comwrote in message
| news:eE**************@TK2MSFTNGP06.phx.gbl...
| *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
| >
| >
|
|