N
news.microsoft.com
Hi,
ArrayList.Add(...) method doesnt indicate what value we can check for
error.
NotSupportedException is the only exception but thats for ReadOnly or
FixedSize lists. Will the return value be negative? The documentation is
unclear in MSDN on this.
If .Add() fails, would it return -1? If its variable size Im sure Ill get
an OutOfMemoryException before but there isnt a specific error for .Add
failure
Fanks.
ArrayList.Add(...) method doesnt indicate what value we can check for
error.
NotSupportedException is the only exception but thats for ReadOnly or
FixedSize lists. Will the return value be negative? The documentation is
unclear in MSDN on this.
If .Add() fails, would it return -1? If its variable size Im sure Ill get
an OutOfMemoryException before but there isnt a specific error for .Add
failure
Fanks.