A string is immutable: methods such as Trim(), ToUpper() and Replace("a", "b") return a new string, so you must use the result. Interpolation builds text from values: $"{name} owes {amount:C}". After a colon comes a format specifier: C currency, F2 two decimals, N0 thousands separators, D3 an integer padded to three digits, yyyy-MM-dd for dates.
Formats follow the current culture. The tests here run in US English (en-US), so {1250m:C} is $1,250.00. In real code that must not depend on the machine, pass CultureInfo.InvariantCulture or a specific culture.
To compare text, == is exact and case sensitive. For case-insensitive checks use string.Equals(a, b, StringComparison.OrdinalIgnoreCase). string.IsNullOrWhiteSpace catches null, empty and all-space values in one call.
Format specifiers after the colon, and string methods that return new strings.