![]() |
ArrayList represents an ordered collection of an object that can be indexed individually. It is basically an alternative to an array. It also allows dynamic memory allocation, adding, searching and sorting items in the list. ArrayList.IsFixedSize property is used to check whether the ArrayList has a fixed size or not. Properties:
Syntax: public virtual bool IsFixedSize { get; } Return Value: This method returns True if the ArrayList has a fixed size, otherwise returns False. The default value is False. Below programs illustrate the use of ArrayList.IsFixedSize Property: Example 1:
Output:
False Example 2:
Output: False True Note:
Reference: |
Reffered: https://www.geeksforgeeks.org
C# |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 10 |