Properly using NewObject

How I use this to get a member of another class value inside another class ?