Table of Contents

FixedString Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Generate.cs

FixedString(char, int)

Generates a string from the specified Unicode character repeated until the specified length.

public static string FixedString(char c, int count)

Parameters

c char

A Unicode character.

count int

The number of times c occurs.

Returns

string

A string filled with the specified c until the specified count.

Exceptions

ArgumentOutOfRangeException

count is less than zero.