# ToString()

*noun*

say it: **“too-STRING”** **/tuːˈstrɪŋ/**

The method every C# object has that returns text describing it; override it to print something useful.

## What does **ToString()** do in C#?

**ToString()** — A method that returns a readable text representation of an object.

## In a sentence

- “I overrode **ToString** so printing a book shows "Dune by Frank Herbert".”

Level: Journeyman · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=3)

Updated: November 9, 2026

## In other subjects

- [toString() in Java](https://www.ask-codey.com/glossary/tostring)
- [toString() in JavaScript](https://www.ask-codey.com/glossary/tostring-javascript)

Source: https://www.ask-codey.com/glossary/tostring-c-sharp
