title: How do I convert List<Class> to String?
body: <p>I've got an List and I want to convert it into string. Including all de strings and data that I've been added to my list.</p>
  
  <p>This is my class</p>
  
  <pre><code>public class MyClass
  {
      public Boolean success { get; set; }
      public String msg { get; set; }
  
  }
  </code></pre>
  
  <p>Then I declare it in that way:</p>
  
  <pre><code>List&lt;MyClass&gt; list = addDataToList("Passwd", "UserID");
  </code></pre>
  
  <p>So, how can I convert that list to String?</p>
  
  <p>Thanks for any help.</p>