String Constructor (Char*)
Initializes a new instance of the String class to the value indicated by a specified pointer to an array of Unicode characters.
Assembly: mscorlib (in mscorlib.dll)
If value is a null pointer, an Empty instance is initialized.
This constructor copies the sequence of Unicode characters at the specified pointer until a null character (hexadecimal 0x0000) is reached.
If the specified array is not null-terminated, the behavior of this constructor is system dependent. For example, such a situation might cause an access violation.
In C#, this constructor is defined only in the context of unsafe code.
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2