[]
Converts a Length instance to its string representation.
public static explicit operator string(Length unit)
| Type | Name | Description |
|---|---|---|
| Length | unit | A Length value to convert. |
| Type | Description |
|---|---|
| string |
var length = new Length("1in");
string lengthString = (string)length; // "1in"