Is modifying a List in this manner bad practice?
<p>In Class A(What will output the List if it is not empty):</p>

<pre><code>private List&lt;int&gt; _myList = new List&lt;int&gt;
public List&lt;int&gt; MyList {get{return _myList;} set{_myList = value;}}
</code></pre>

<p>In Class B:</p>

<pre><code>public bool MyClassBMethod(stuff)
{
     //stuff
     try{
          something
     }
     catch(Exception){
         ClassA.MyList.Add(stuff);
         return false;
     }
     return true;
}
</code></pre>

<p>Is editing a List like this bad practice? Or is it okay?</p>

<p>Edit: I am only adding to the list as such when my method needs to return something else(bool, object, string, etc).</p>
