c# print integer code example
Example: c# how to print a number
using System;
public class Exercise12
{
public static void Main()
{
int num;
Console.WriteLine("Enter a digit: ");
num = Convert.ToInt32( Console.ReadLine() );
Console.Write( num );
}
}