Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  string  >  string(string)
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

ClassNameDescription
stringvalueThe value that the new instance has.

Return value

ClassDescription
stringA new instance of string class with specified value.

Sample code

string newString = new string("10");

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.