ToString
virtual func ToString() -> string
Declaring type: Object
Module: System
Assembly: System.Runtime.dll
Source file: Object.rvn
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Return value
The type descriptor FullName, or the string produced by the selected override.
Remarks
Development class-reference slice. Virtual calls select class overrides; explicit base calls use this fallback. Rootless nominal classes and arrays use the fallback. Null raises NullReference. Boxed named structs dispatch an explicit ToString override, including generated record-struct display. Boxed Int32 and Int64 produce culture-independent decimal text; boxed Boolean produces True or False. Boxed Char returns its complete grapheme text. Format strings and culture providers are not supported. String through Object returns its unchanged text with the same String identity. Other boxed primitives remain unsupported; use their typed formatting APIs. This is display text, not serialization or a stable identity.