I have 2 array like as follow:
Array A (
{ title="A",id=1 }, {title="B",id=2},{title="c",id=3}
)
Array B (
{ title="A",id=1 }, {title="B",id=2},{title="c",id=3}
)
Now, I want to combine this arrays & when I try to get the values from combined array, I want know that it is from Array A or Array B.
How can I do that?
Should I use dictionary instead of Array?