0

How to fix this error System.Collection.Generic.List'[system.string]

i have string list list _name.add(string.format("{0}{1}",content1,content2)) when try to write this list_name in file using stream writer . i get the below line of Text instead of actual value System.Collection.Generic.List'[system.string] how could I do this

30th Jun 2018, 6:32 AM
Vijaya Priya Viji
Vijaya Priya Viji - avatar
1 Resposta
0
you can't write a list in C# like you can in python. in c#, you'll need to append each item in the list onto a string and then write that
30th Jun 2018, 2:08 PM
hinanawi
hinanawi - avatar