Total Page Preview:   000000002061

Explain difference between array and arraylist in c# in English and Hindi

 

Differnce between array and arraylist in C# in English

In summary, arrays are fixed-size, contiguous blocks of memory that can hold elements of a single type, whereas ArrayLists are dynamic, resizable collections that can hold elements of any type but have some performance and memory overhead. Arrays are faster and more memory-efficient, but less flexible than ArrayLists.

 

 

Differnce between array and arraylist in C# in Hindi

Saransh mein, arrays fixed-size, contiguous blocks of memory hai jo sirf ek hi tarah ke elements ko hold kar sakta hai, jabki ArrayLists dynamic, resizable collections hai jo kisi bhi tarah ke elements ko hold kar sakte hai, but unme kuch performance aur memory overhead hota hai. Arrays ArrayLists se faster aur memory-efficient hai, but less flexible hai.

 

 

 

Thank You

About Author

Brijesh Kumar

Database Developer

I have more then 6 years Experience in Microsoft Technologies - SQL Server Database, ETL Azure Cloud - Azure SQL Database, CosmosDB, Azure Data Factory, PowerBI, Web Job, Azure Function, Azure Storage, Web Apps, Powershall and Database Migration On-Premise to Azure Cloud.
LinkedIn : https://www.linkedin.com



Comments


                           
                           

                           

                           

Facebook User: