string class : string(string) fitter
Description
Get a new instance of string class with the same value as the argument.
Syntax
new string(string value)
Arguments
Class | Name | Description |
string | value | The value that the new instance has. |
Return value
Class | Description |
string | A new instance of string class with specified value. |
Sample code
string newString = new string("10");
Notes
None.
Links for reference
None.