R
Ray Cassick
I can't believe why I had not noticed this before and why I never asked it
before...
When defining a string why is it not required to use the new keyword? Like:
Dim a As String = New String
You can do it when using the string type with some arguments in the
constructor but it look like there is no empty constructor on the String
class.
Seem odd to me that all the other reference types seem to require a new to
create the instance portion of the type and String does not.
Thanks for any insight...
before...
When defining a string why is it not required to use the new keyword? Like:
Dim a As String = New String
You can do it when using the string type with some arguments in the
constructor but it look like there is no empty constructor on the String
class.
Seem odd to me that all the other reference types seem to require a new to
create the instance portion of the type and String does not.
Thanks for any insight...