You are on page 1of 1

using System;

using System.Windows.Forms;

public class Count

public static void Main()

int count = 1;

MessageBox.Show("The value of count is: " + count, "Count Program");

count = count + 1;

MessageBox.Show("The value of count is: " + count, "Count Program");

You might also like