How can I use a generic variable for Linked List? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
28th Oct 2019, 1:26 PM
M.o.T
M.o.T - avatar
5 Answers
+ 1
28th Oct 2019, 11:49 PM
M.o.T
M.o.T - avatar
0
Please explain your question The LinkedList in C# is already a generic list. https://www.geeksforgeeks.org/c-sharp-linkedlist-class/ What do you want to do ?
28th Oct 2019, 9:15 PM
sneeze
sneeze - avatar
0
sneeze The above program only works for int variables I want to work for all variables like string and double at the same time (with Generic variables)
28th Oct 2019, 11:44 PM
M.o.T
M.o.T - avatar