Practice file-handling pattern with value 17.
Ready — edit the code above and click Run.
using System;
class Program
{
static void Main()
{
int x = 17;
Console.WriteLine(x);
}
}
Try solving on your own first, then reveal the official answer.
Extend starter into full file-handling solution.