P
puzzlecracker
Unhandled Exception: System.NullReferenceException: Object reference
not set to an instance of an ob
ject.
Here is where I get this:
public void Foo(){
ArrayList list=new ArrayList();
Bar(list); //<== This throws the exception
}
public void Bar(ArrayList list){
}
not set to an instance of an ob
ject.
Here is where I get this:
public void Foo(){
ArrayList list=new ArrayList();
Bar(list); //<== This throws the exception
}
public void Bar(ArrayList list){
}