using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.Write("february Has {0} or {1} days", 28, 29);
Console.WriteLine();
Console.WriteLine("february Has {0,10} or {1,2} days", 28, 29);
Console.ReadLine();
}
}
}
/* see both the outputs ..see the second one quite interesting...... */
No comments:
Post a Comment