Accessing a linked list through modules in C #

I previously worked with Linked list in C ++, where I referred to a list of links in different modules, using a pointer to the address of its address.

What I use is to create a linked list in order to save the address of the linked list in a long format. In another module, the same application, after entering the address type, I can restore the linked list.

New if the world is C # and cannot find a way to implement it. Please help me

+3
source share
2 answers

Can't you just reference your Linked List and use it again when you need it?

LinkedList mylist = new LinkedList();

Now use mylistanywhere you need, conveying it, preferably.

+2
source

, , , # , , ( , int, string ..) .

+2

All Articles