Adding items to a list of struct

HaBe1963HaBe1963 NLMember ✭✭

Hi,

simple question with perhaps a simple answer regarding an Android app I'm building.
I have defined below struct:

            struct Systems{
                int ID;
                int NmbCar;
                string Name;
                string UserID;
                string Active;
                string Path;
                bool filtered;
            };

I also have defined below:

`List<Systems> SystemS;`
Systems Input;

If I want to add items to this list in C++ it's just:

Input.ID=1;
Input.NmbCar=23;
etc..

and

Systems.pushback(Input);

How should I do that in my Xamarin project?

Sign In or Register to comment.