using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Threading;
using System.IO;
namespace CSharpProgram
{
class AkbTechie
{
static void Main(string[] args)
{
Random rand = new Random();
Console.WriteLine("Some Random Numbers are : ");
for (int i = 1; i <= 5; i++)
{
int num = rand.Next();
Console.WriteLine(num);
}
Console.ReadKey();
}
}
}
Output:-
Some Random Numbers are :
1390226972
1251576986
705095050
543199206
1329761337
0 टिप्पणियाँ