Rano AH

Rano AH

  • NA
  • 176
  • 109.3k

Using Struct to access peroperties from a specific class

Apr 20 2014 2:40 AM

Hello

I would need some good example or explanation on when and how to use Struct.
I have lot of texBoxes, comboBoxes to pass some values from UI to my method.

Well, it's really hard to explain, but I have a class that has around 30 properties and 15 methods.

In my code I will need to create 6 instances and for each instances I need to use relative textBoxes and comboBoxes to passs the values based on the name of the instance of this class. So, how to use struct if I need to access same properties/methods but passing
the value from the correspondence textboxes and comboBoxes from my UI.