Method Format
Format(string)
Formats a code for display, for example K7PX-M3QR. The code is normalized first, so typed input is accepted too.
Declaration
public static string Format(string code)
Parameters
| Type | Name | Description |
|---|---|---|
| string | code |
Returns
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | The value is not a valid code. |