String Constructor (Char, Int32)
Initializes a new instance of the String class to the value indicated by a specified Unicode character repeated a specified number of times.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public String( char c, int count )
<TemplateAttribute> _ Public Sub New ( _ c As Char, _ count As Integer _ )
[TemplateAttribute] public: String( wchar_t^ c, int^ count )
Parameters
- c
- Type: System..::..Char
A Unicode character.
- count
- Type: System..::..Int32
The number of times c occurs.