Hi I have a class named Activity,
On a form I create its object array as,
Activity[] _actList;
And then do this,
List<Activity> termsList = _actList.ToList<Activity>();
since _actiList
is null its throwing the ArgumentNullException
.
So my question is,
How can I handle this exception?
Or is there a work around to get the same functionality ?
Please Help!