Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

access data inside Object

 
David Llewellyn
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I call a method I've instantiated through reflection, it returns an Object. How can I get at whats stored in the object? It stores a Shape3D set of data.

This is the code I'm having trouble with:


Cheers
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cast it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic