f string in c# code example Example: f string C# string name = "John" Console.WriteLine($"Hello {name}")