src/GenFx.Components/Lists/ListEntityBase.cs
/// <summary>
/// Adds the value to the end of the list.
/// </summary>
/// <param name="value">Value to add.</param>
/// <returns>Index position where the value was added.</returns>
Adds the value to the end of the list.
Adds the value to the end of the list .
public int Add(object? value)
        {
            if (IsFixedSize)
            {
                throw new NotSupportedException(StringUtil.GetFormattedString(Resources.ErrorMsg_ListEntityBase_FixedSize));
            }
            int index = this.Length++;
            ((IList)this)[index] = value;
            return index;
        }
public int Add ( object ? value ) { if ( IsFixedSize ) { throw new NotSupportedException ( StringUtil . GetFormattedString ( Resources . ErrorMsg_ListEntityBase_FixedSize ) ) ; } int index = this . Length ++ ; ( ( IList ) this ) [ index ] = value ; return index ; }
Adds the value to the end of the list.
Adds the value to the end of the list .
Index position where the value was added.
Index position where the value was added .
value
object?
Value to add.
Value to add .