12
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
for (int i = 0, j = 0; i + j < 5; i++, j++)
8
{
9
Console.WriteLine("Value of i: {0}, J: {1} ", i, j);
10
}
11
}
12
}
Cached Result
Unhandled exception. System.InvalidOperationException: Nullable object must have a value.
at System.Nullable`1.get_Value()
at Program.Main()
Command terminated by signal 6
at System.Nullable`1.get_Value()
at Program.Main()
Command terminated by signal 6