♦ Interpolation of Strings in C#
♣ Example6: Interpolation of Strings in C#
Interpolation in C# is an act of defining placeholders for the values then be used in string.In this example, Two placeholders are illustrated holding value pre hand.
Example
Input:
Output: