2
Reply

what is arrylist and vectors in asp.net ?

prasanna laxmi

prasanna laxmi

16y
4.4k
0
Reply

    The basic difference between a Vector and an ArrayList is that, vector is synchronized while ArrayList is not. Thus whenever there is a possibility of multiple threads accessing the same instance, one should use Vector. While if not multiple threads are going to access the same instance then use ArrayList. Non synchronized data structure will give better performance than the synchronized one.

    Vector is synchronized whereas arraylist is not.