how toaccess the attributes in another form? c#
<p>I have a problem in a same namespace:</p>

<pre><code>public partial class frmForm1 : Form  // Form1
        {
     public class Account
            {
                public string Username;
                public string Password;

            }

        public class ListAcc
        {
            public static int count = 0;
            private static List&lt;Account&gt; UserList;
            public static List&lt;Account&gt; Data()
            {
                return UserList;
            }
        }
}


 public partial class frmForm2 : Form  // Form2
    {

        private void button2_Click(object sender, EventArgs e)
        {
            frmForm1.Account A;
            string m = frmForm1.ListAcc&lt;A&gt;.[0].Username; //ERROR
        }
    }
</code></pre>

<p>How could i access the attributes (Username, Password...) in frmForm1? Someone help me? Thanks!</p>
