Can i just do this:
private someMethodSomewhere(){
new myObject().Load();
}
Instead of this:
private someMethodSomewhere(){
myObject objectItem = new myObject().Load();
}
Is it the same thing?
EDIT:
I didn’t think this needed clarification… but i guess it does:
Load() DOES return an instance of myObject…. otherwise it would not compile.
Yes! If that’s exactly the code you’re using, then it is the same thing.