Void '(obj.randomize)

Hi

could anyone tell me what is the difference b/w void '(obj.randomize) and obj.randomize?

anyway void '(obj.randomize) is going to ignore the return value,instead of that we can use obj.radomize right??

In reply to lakshmipriya:

The void’(obj.randomize) should eliminate a warning message that indicates you are explicitly ignoring an expression value.

When you use obj.randomize by itself, you are most likely forgetting to check the return value for errors.