Hello OOP'ers all over the world!
I have strange problem of understanding oop: after dialog i have some data, i can present this data with class:

```
public class RegistrationBody
    {
        public string UserName { get; set; }
        public string UserSurname { get; set; }
        public string Email { get; set; }
        public string Phone { get; set; }
        public string INN { get; set; }
        public bool AllowForSpam { get; set; }

        public RegistrationBody(string userName, string userSurname, string email, string phone, string ИНН, bool allowForSpam)
        {
            UserName = userName;
            UserSurname = userSurname;
            Email = email;
            Phone = phone;
            INN = INN;
            AllowForSpam = allowForSpam;

        }

```

In main window i call form then i get data like in that sructure; After that i need to build url.
Question: what class i need to use for building url and store it until application closing? As i know i need to avoid public varible in main class, so what i need to build?