hello
for time being u can use this code
Console.WriteLine(DateTime.Now.ToLongDateString());
and the output will be Wednesday, April 21,2010.
now for conversion of numbers into string format my friend u have to write serious code for that which looks some what like this...
As the Given Tag in ur question is C# the below code is too in C#.....
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
void fun()
{
Console.WriteLine("Enter numeric value");
int x = Convert.ToInt32(Console.ReadLine());
for (int i = 0; i <= x; i++)
{
switch (i)
{
case 1:
Console.WriteLine("One");
break;
case 2:
Console.WriteLine("Two");
break;
case 3:
Console.WriteLine("Three");
break;
case 4:
Console.WriteLine("Four");
break;
case 5:
Console.WriteLine("Five");
break;
default:
Console.WriteLine("Zero");
break;
}
}
}
static void Main(string[] args)
{
Program obj = new Program();
obj.fun();
}
}
}
The above code will ask u for a number enter then at that time enter the numeric value "5" and ur done...
Do rate my answer once u find it useful
Thanks & Regards
Radix :rose: