13
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
string inputValue1 = "This";
8
string inputValue2 = "Test";
9
10
Console.WriteLine("using string interpolation in C# 6.0");
11
Console.WriteLine($"{inputValue1} is a {inputValue2} String");
12
}
13
}
Cached Result
Run-time exception (line 9): Index was outside the bounds of the array.
Stack Trace:
[System.IndexOutOfRangeException: Index was outside the bounds of the array.]
at Program.Main() :line 9
Stack Trace:
[System.IndexOutOfRangeException: Index was outside the bounds of the array.]
at Program.Main() :line 9