title: Avoiding repetitive job when dealing with many variables
body: <p>I'm looking for some advices how to deal with similar example problem:</p>
  
  <pre><code>string A;
  string B;
  string C;
  string D;
  ...
  
  void Initialize()
  {
      A = someObject.A.ToString();
      B = someObject.B.ToString();
      C = someObject.C.ToString("F");
      D = someObject.D.ToString();
      ...
  }
  </code></pre>
  
  <p>My class has a lot of numeric variables and I need to pass their values to these strings easily for large quantity of such variables. Let's say it is RPG stats based game and a lot of stats, factors etc. play here a role. Managing such a many variables by copy pasting is a pain.  </p>
  
  <p><strong>Question</strong>: how can I simplify work with lots of variables.<br>
  I would like to know some solutions for this problem since I don't have any experience with it and I don't know anyone or any source to search for a solutions.   </p>
  
  <p>I personally thought about using some kind of structure, dicitonary or database.</p>
  
  <p>EDIT: To be precise I've created a class called Character and it has a lot of properties like xp, life, gold etc. Now I want to do a GUI using class called Label that draw text on the screen, so I'm coding GUI class containing Label objects that on various events will react accordingly. For example I need to assign at the beginning to my labels specified text like:</p>
  
  <pre><code>Label life, gold, xp, etc;
  life.text = Character.instance.Life.ToString();
  gold.text = Character.instance.Gold.ToString();
  xp.text = Character.instance.XP.ToString();
  ...
  </code></pre>