I have a namespace Common.Param in which i created a bunch of simple classes of static strings like this:
public class Url
{
    public static string LoginPage;
    public static string AdminPage;
    public static string ProfilePage;
}
public class LoginDetails
{
    public static string Username;
    public static string Password;
}
I want to fill those fields with a xml file made like this
<Param>
  <Url>
    <LoginPage>http://1.2.3.4/Login.aspx</LoginPage>
    <AdminPage>http://1.2.3.4/Admin.aspx</AdminPage>
    <ProfilePage>http://1.2.3.4/Profile.aspx</ProfilePage>
  </Url>
  <LoginDetails>
    <Username>myUser</Username>
    <Password>p4ssw0rd</Password>
  </LoginDetails>
...
</Param>
How can i find all classes within my Common.Param namespace and fill their strings programmatically?
 
     
     
    