# String Interpolation

*noun*

say it: **“STRING in-ter-puh-LAY-shun”** **/strɪŋ ɪnˌtɜːrpəˈleɪʃən/**

Building a string from text and values by putting the values in curly braces inside a string that starts with $.

## What is **String Interpolation** in C#?

**String Interpolation** — Building a string by placing expressions inside braces in a string beginning with $.

```csharp
class Order
{
    string Describe(string item, int count)
    {
        return $"{count} cups of {item}";
    }
}
```

## In a sentence

- “With **string interpolation**, $"{name} scored {points} points" reads like the sentence it prints.”

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

Updated: November 9, 2026

## In other subjects

- [String Interpolation in Java](https://www.ask-codey.com/glossary/string-interpolation)
- [String Interpolation in JavaScript](https://www.ask-codey.com/glossary/string-interpolation-javascript)
- [String Interpolation in PowerShell](https://www.ask-codey.com/glossary/string-interpolation-powershell)

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