I have a text file having randomize numbers.
->first read the file in asp.net
->then count how much time the number will repeated in that text file
->and also display the time taking to read the file

Please help if any body has the answer.

Welcome patibikash.

You need to show effort, and what better way than posting the code that you have tried so far? Please read member rules and homework policy at daniweb.

private void LoopNumbers()  
            Random rand = new Random(DateTime.Now.Millisecond);  
            ArrayList aryList = new ArrayList();  
            for (int i = 0; i < 100; i++)  
                int num = rand.Next(0, 1000);  
                if (!aryList.Contains(num))  
            Response.Write("aryList.Count = " + aryList.Count.ToString() + "<br /><br />");  
            for (int i = 0; i < aryList.Count; i++)  
                Response.Write(aryList[i].ToString() + " ");  

Follow this code,It may help you.

commented: Read forum rules please (: -2