How creat a string class use the char*?

  • Thread starter Thread starter ironpythonster
  • Start date Start date
I

ironpythonster

Hi everyone,there is a simply question puzzle me:
Under the CPP,where can use the char* to creat
a string class for use,but under the .NET Framework?
How to use C# to creat a string class as the BCL suppert??
It can do this work?

PS: I read from the code of SSCLI,It is found that when BCL implent the

string ,it calll for an model of the runtime lib.
 
Hi everyone,there is a simply question puzzle me:
Under the CPP,where can use the char* to creat
a string class for use,but under the .NET Framework?
How to use C# to creat a string class as the BCL suppert??
It can do this work?

PS: I read from the code of SSCLI,It is found that when BCL implent the

string ,it calll for an model of the runtime lib.

It's not exactly clear what you're trying to do. What's wrong with the
String class?

String has a couple of properties which you can't mimic in your own
code. In particular, it's the only type other than arrays whose size
isn't known from the type definition.
 
the string class is so good,butI just want to konwm how the string
class implent?
 
Kevien Lee said:
the string class is so good,butI just want to konwm how the string
class implent?

Well, you can download Rotor and look at the implementation there. It's
not the kind of class you'd implement yourself though.
 
Back
Top