Characters Class |
public class Characters
The Characters type exposes the following members.
| Name | Description | |
|---|---|---|
| Characters(Int32) | Initializes a new instance of the Characters class with the specified length. | |
| Characters(String) | Initializes a new instance of the Characters class with the specified string. | |
| Characters(Char, Boolean) | Initializes a new instance of the Characters class with the specified character array. | |
| Characters(String, Int32) | Initializes a new instance of the Characters class with the specified string and length. |
| Name | Description | |
|---|---|---|
| CharArray | Gets the underlying character array. | |
| Length | Gets the length of the character array. |
| Name | Description | |
|---|---|---|
| Add | Concatenates two character arrays and returns a new Characters instance. | |
| AdjustLeft | Adjusts the characters in the array to the left by removing leading blank spaces. | |
| AdjustRight | Adjusts the characters in the array to the right by removing trailing blank spaces. | |
| AreEqual | Determines whether two character arrays are equal. | |
| Copy(Char) | Copies characters from the specified source character array to this instance. | |
| Copy(String) | Copies characters from the specified source string to this instance. | |
| Copy(Int32, Char) | Copies characters from the specified source character array to this instance. | |
| Copy(Int32, String) | Copies characters from the specified source string to this instance. | |
| Copy(Int32, Int32, Char) | Copies a range of characters from the specified source character array to this instance. | |
| Copy(Int32, Int32, String) | Copies a range of characters from the specified source string to this instance. | |
| Equals |
Determines whether the specified object is equal to the current Characters instance.
(Overrides ObjectEquals(Object)) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| LargeThan | Determines whether the first character array is larger than the second. | |
| LeastThan | Determines whether the first character array is less than the second. | |
| LenTrim | Gets the length of the character data after trimming trailing blank spaces. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Replace(Char) | Replaces the contents of this instance with the specified character array. | |
| Replace(Characters) | Replaces the contents of this instance with the specified Characters instance. | |
| Replace(String) | Replaces the contents of this instance with the specified string. | |
| Substring(Int32) | Creates and returns a new Characters object that is a substring of this instance. | |
| Substring(Int32, Int32) | Creates and returns a new Characters object that is a substring of this instance. | |
| ToBlanks | Fills the entire character array with blank spaces. | |
| ToBlanks(Int32) | Fills the specified number of characters in the array with blank spaces. | |
| ToBlanks(Int32, Int32) | Fills a specified range of the character array with blank spaces. | |
| ToInt32 | Converts the character data to a 32-bit signed integer. | |
| ToLower | Converts all characters in the array to lowercase. | |
| ToString |
Returns a string that represents the current Characters instance.
(Overrides ObjectToString) | |
| ToUpper | Converts all characters in the array to uppercase. | |
| Trim | Trims trailing blank spaces and returns the resulting string. |
| Name | Description | |
|---|---|---|
| Addition(Characters, Characters) | Concatenates two Characters instances. | |
| Addition(Characters, String) | Concatenates a Characters instance and a string. | |
| Addition(String, Characters) | Concatenates a string and a Characters instance. | |
| Equality(Characters, Characters) | Checks if two Characters instances are equal. | |
| Equality(Characters, String) | Checks if a Characters instance and a string are equal. | |
| Equality(String, Characters) | Checks if a string and a Characters instance are equal. | |
| GreaterThan(Characters, Characters) | Checks if the first Characters instance is greater than the second. | |
| GreaterThan(Characters, String) | Checks if a Characters instance is greater than a string. | |
| GreaterThan(String, Characters) | Checks if a string is greater than a Characters instance. | |
| GreaterThanOrEqual(Characters, Characters) | Checks if the first Characters instance is greater than or equal to the second. | |
| GreaterThanOrEqual(Characters, String) | Checks if a Characters instance is greater than or equal to a string. | |
| GreaterThanOrEqual(String, Characters) | Checks if a string is greater than or equal to a Characters instance. | |
| (String to Characters) | Implicitly converts a string to a Characters instance. | |
| Inequality(Characters, Characters) | Checks if two Characters instances are not equal. | |
| Inequality(Characters, String) | Checks if a Characters instance and a string are not equal. | |
| Inequality(String, Characters) | Checks if a string and a Characters instance are not equal. | |
| LessThan(Characters, Characters) | Checks if the first Characters instance is less than the second. | |
| LessThan(Characters, String) | Checks if a Characters instance is less than a string. | |
| LessThan(String, Characters) | Checks if a string is less than a Characters instance. | |
| LessThanOrEqual(Characters, Characters) | Checks if the first Characters instance is less than or equal to the second. | |
| LessThanOrEqual(Characters, String) | Checks if a Characters instance is less than or equal to a string. | |
| LessThanOrEqual(String, Characters) | Checks if a string is less than or equal to a Characters instance. |