Name

Represents a sequence of syllables that make up a name.

Constructors

Constructor
Description

Name()

Creates an empty name with no syllables.

Name(System.String[] syllable)

Creates a new name with the desired syllables.

Name(Name copy)

Methods

Method
Returns
Description

Append(System.String syllable)

Adds a new syllable to this name. Returns this instance of Name for chaining.

Equals(System.Object obj)

System.Boolean

Returns true if this Name is equal to the specified Name. A Name is equal to another Name only if their string values are also equal.

GetHashCode()

System.Int32

Returns a hash code for this Name.

ToString()

System.String

Sequences the syllables of this Name into a single string, capitalizes it, and returns it.

Properties

Property
Type
Description

Syllables

System.Collections.Generic.List <System.String>

The ordered syllables that make up this name.

Last updated