C# String String(Char*)

Description

String String(Char*) initializes a new instance of the String class to the value indicated by a specified pointer to an array of Unicode characters.

Syntax

String.String(Char*) has the following syntax.


[CLSCompliantAttribute(false)]
public String(
  char* value
)

Parameters

String.String(Char*) has the following parameters.

  • value - A pointer to a null-terminated array of Unicode characters.




















Home »
  C# Tutorial »
    System »




Array
BitConverter
Boolean
Byte
Char
Console
ConsoleKeyInfo
Convert
DateTime
DateTimeOffset
Decimal
Double
Enum
Environment
Exception
Guid
Int16
Int32
Int64
Math
OperatingSystem
Random
SByte
Single
String
StringComparer
TimeSpan
TimeZone
TimeZoneInfo
Tuple
Tuple
Tuple
Type
UInt16
UInt32
UInt64
Uri
Version