![]() ![]() It is NOT strongly typed and NOT fixed size.Ĭopy Code // It is NOT obvious that strArrayList is // 1. Therefore finding data is easy just by pointing out to its key. HashTable is another kind of data structure that defines key value for each data section. ![]() * Finding among Object of Array List is difficult, // you have to find your specific item by index ObjArrayList.Add( new Product( " 1003", " Carpet")) ObjArrayList.Add( new Product( " 1002", " Sofa")) ObjArrayList.Add( new Product( " 1001", " Chair")) Sized=10? 20? 100? ->NOT Fixed Size // Namespace: System.Collections string? int? object? decimal? OR OBJECT? -> NOT Strongly Type // 2. Below is old way to fill obj from product, // in Arraylist you need to create more than one instance // Product objProduct = new Product() // objProduct.Code = "1001" // objProduct.Name = "Chair" // It is NOT obvious that strArrayList is // 1. StrArrayList.Add( " Mahsa") // "Mahsa": is string type of data is not specific runtime deferred support string? int? object? decimal? -> NOT Strongly Type // 2. Copy Code // It is NOT obvious that strArrayList is 1. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |