---
title: "Discussion on \"String.format is so old school\" | Hashnode"
description: "Discussion on \"String.format is so old school\". All my dev life I have used string.format(\"TEXT {0} MORE TEXT\",variableValue) to add variable values into a string, but the other day I found the $ feature, which arrived in C# 6.\nHow you use string.format\nvar age = 64String.format(\"my am {0} old tod..."
url: "https://hashnode.com/posts/stringformat-is-so-old-school/639af14dda9e56d14f51d603"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [String.format is so old school](https://coopsblog.hashnode.dev/stringformat-is-so-old-school?utm_source=hashnode&utm_medium=feed)

All my dev life I have used string.format("TEXT {0} MORE TEXT",variableValue) to add variable values into a string, but the other day I found the $ feature, which arrived in C# 6. How you use string.format var age = 64String.format("my am {0} old tod...

Dec 15, 2022 · 1 min read · coopsblog.hashnode.dev  
Read the article

-   [#string-methods](https://hashnode.com/tag/string-methods)
-   [#string-interpolation](https://hashnode.com/tag/string-interpolation)

## Written by

[Chris Cooper](https://hashnode.com/@Cooper001)

@Cooper001

  
[View profile](https://hashnode.com/@Cooper001)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
